From 894ff73c7daf3af08d5e97c46849fa772edaea02 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Thu, 19 Jun 2014 18:02:42 -0400 Subject: [PATCH] Internals: Fix clang warning, bug791. --- src/V3File.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/V3File.cpp b/src/V3File.cpp index 8cba41fd0..aad16a66b 100644 --- a/src/V3File.cpp +++ b/src/V3File.cpp @@ -567,7 +567,7 @@ const char* V3OutFormatter::indentStr(int num) { static char str[MAXSPACE+20]; char* cp = str; if (num>MAXSPACE) num=MAXSPACE; - if (!m_lang==LA_VERILOG) { // verilogPrefixedTree doesn't want tabs + if (m_lang!=LA_VERILOG) { // verilogPrefixedTree doesn't want tabs while (num>=8) { *cp++ = '\t'; num -= 8;