Fixed #650 ('possible style' pre-incrementing error shown without --all)

This commit is contained in:
Daniel Marjamäki 2009-09-08 21:41:11 +02:00
parent 80bf406a97
commit 48846c008d
1 changed files with 4 additions and 1 deletions

View File

@ -67,7 +67,10 @@ public:
checkOther.checkConstantFunctionParameter();
checkOther.checkStructMemberUsage();
checkOther.checkIncompleteStatement();
checkOther.postIncrement();
if (settings->_showAll)
{
checkOther.postIncrement();
}
}
checkOther.strPlusChar();