Clang warning fix.
This commit is contained in:
parent
81e8127168
commit
e9a309ea8d
|
|
@ -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)
|
VlWriteMem::VlWriteMem(bool hex, int bits, const std::string& filename, QData start, QData end)
|
||||||
: m_hex(hex)
|
: m_bits(bits)
|
||||||
, m_bits(bits)
|
|
||||||
, m_filename(filename)
|
|
||||||
, m_addr(0) {
|
, m_addr(0) {
|
||||||
if (VL_UNLIKELY(!hex)) {
|
if (VL_UNLIKELY(!hex)) {
|
||||||
VL_FATAL_MT(filename.c_str(), 0, "",
|
VL_FATAL_MT(filename.c_str(), 0, "",
|
||||||
|
|
|
||||||
|
|
@ -65,9 +65,7 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
class VlWriteMem {
|
class VlWriteMem {
|
||||||
bool m_hex; // Hex format
|
|
||||||
int m_bits; // Bit width of values
|
int m_bits; // Bit width of values
|
||||||
const std::string& m_filename; // Filename
|
|
||||||
FILE* m_fp; // File handle for filename
|
FILE* m_fp; // File handle for filename
|
||||||
QData m_addr; // Next address to write
|
QData m_addr; // Next address to write
|
||||||
public:
|
public:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue