Clang warning fix.

This commit is contained in:
Wilson Snyder 2020-01-15 07:27:04 -05:00
parent 81e8127168
commit e9a309ea8d
2 changed files with 1 additions and 5 deletions

View File

@ -1740,9 +1740,7 @@ void VlReadMem::setData(void* valuep, const std::string& rhs) {
}
VlWriteMem::VlWriteMem(bool hex, int bits, const std::string& filename, QData start, QData end)
: m_hex(hex)
, m_bits(bits)
, m_filename(filename)
: m_bits(bits)
, m_addr(0) {
if (VL_UNLIKELY(!hex)) {
VL_FATAL_MT(filename.c_str(), 0, "",

View File

@ -65,9 +65,7 @@ public:
};
class VlWriteMem {
bool m_hex; // Hex format
int m_bits; // Bit width of values
const std::string& m_filename; // Filename
FILE* m_fp; // File handle for filename
QData m_addr; // Next address to write
public: