mirror of
https://github.com/verilator/verilator.git
synced 2025-01-24 15:24:04 +00:00
Fix fwrite GCC warning
This commit is contained in:
parent
8455ee7091
commit
143050e034
@ -517,7 +517,7 @@ public: // But only for verilated*.cpp
|
|||||||
const VerilatedFpList fdlist = fdToFpList(fdi);
|
const VerilatedFpList fdlist = fdToFpList(fdi);
|
||||||
for (const auto& i : fdlist) {
|
for (const auto& i : fdlist) {
|
||||||
if (VL_UNLIKELY(!i)) continue;
|
if (VL_UNLIKELY(!i)) continue;
|
||||||
fwrite(output.c_str(), 1, output.size(), i);
|
(void)fwrite(output.c_str(), 1, output.size(), i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
static void fdClose(IData fdi) VL_MT_SAFE {
|
static void fdClose(IData fdi) VL_MT_SAFE {
|
||||||
|
Loading…
Reference in New Issue
Block a user