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
+1 -1
View File
@@ -413,7 +413,7 @@ private:
newListp = newListp->addNext(nextp);
}
if (splitAlwaysp) {
m_statSplits++;
++m_statSplits;
AstAlways* alwaysp = new AstAlways(newListp->fileline(), NULL, NULL);
addAfterp->addNextHere(alwaysp); addAfterp=alwaysp;
alwaysp->addStmtp(newListp);