diff --git a/include/verilated.cpp b/include/verilated.cpp index 5a6c909ea..b2a098b11 100644 --- a/include/verilated.cpp +++ b/include/verilated.cpp @@ -770,6 +770,7 @@ void VL_SFORMAT_X(int obits, void* destp, const char* formatp, ...) { } void VL_SFORMAT_X(int obits_ignored, string &output, const char* formatp, ...) { + if (obits_ignored) {} output = ""; va_list ap; va_start(ap,formatp);