From 48846c008def13735b0adf2423ce531edb25df8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Tue, 8 Sep 2009 21:41:11 +0200 Subject: [PATCH] Fixed #650 ('possible style' pre-incrementing error shown without --all) --- src/checkother.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/checkother.h b/src/checkother.h index e93b24d18..48ed50349 100644 --- a/src/checkother.h +++ b/src/checkother.h @@ -67,7 +67,10 @@ public: checkOther.checkConstantFunctionParameter(); checkOther.checkStructMemberUsage(); checkOther.checkIncompleteStatement(); - checkOther.postIncrement(); + if (settings->_showAll) + { + checkOther.postIncrement(); + } } checkOther.strPlusChar();