mirror of
https://github.com/verilator/verilator.git
synced 2025-01-09 08:07:46 +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);
|
||||
for (const auto& i : fdlist) {
|
||||
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 {
|
||||
|
Loading…
Reference in New Issue
Block a user