diff --git a/lib/checkbool.h b/lib/checkbool.h index b45cef0e2..427cf10ed 100644 --- a/lib/checkbool.h +++ b/lib/checkbool.h @@ -59,13 +59,6 @@ public: checkBool.checkAssignBoolToFloat(); checkBool.pointerArithBool(); checkBool.returnValueOfFunctionReturningBool(); - } - - /** @brief Run checks against the simplified token list */ - void runSimplifiedChecks(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger) OVERRIDE { - CheckBool checkBool(tokenizer, settings, errorLogger); - - // Checks checkBool.checkComparisonOfFuncReturningBool(); checkBool.checkComparisonOfBoolWithBool(); checkBool.checkIncrementBoolean(); @@ -73,6 +66,13 @@ public: checkBool.checkBitwiseOnBoolean(); } + /** @brief Run checks against the simplified token list */ + void runSimplifiedChecks(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger) OVERRIDE { + (void)tokenizer; + (void)settings; + (void)errorLogger; + } + /** @brief %Check for comparison of function returning bool*/ void checkComparisonOfFuncReturningBool();