Internals: Fix preincrements to reduce cppcheck warnings

This commit is contained in:
Wilson Snyder
2011-08-04 21:15:24 -04:00
parent ad53833040
commit c83f2a4abd
23 changed files with 43 additions and 45 deletions
+2 -2
View File
@@ -452,10 +452,10 @@ private:
if (isCaseTreeFast(nodep) && v3Global.opt.oCase()) {
// It's a simple priority encoder or complete statement
// we can make a tree of statements to avoid extra comparisons
m_statCaseFast++;
++m_statCaseFast;
replaceCaseFast(nodep); nodep=NULL;
} else {
m_statCaseSlow++;
++m_statCaseSlow;
replaceCaseComplicated(nodep); nodep=NULL;
}
}