From 9567da22f872c6ed55778f0f25866f09440abd5e Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Mon, 28 Oct 2013 11:14:13 -0400 Subject: [PATCH] Compiler warning fix. --- include/verilated.cpp | 1 + 1 file changed, 1 insertion(+) 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);