Move CheckString::checkAlwaysTrueOrFalseStringCompare() from runSimplifiedChecks() to runChecks()

This commit is contained in:
Daniel Marjamäki 2019-02-25 18:11:33 +01:00
parent 4e6d4e4ddd
commit ef6fc67da4
1 changed files with 4 additions and 4 deletions

View File

@ -60,14 +60,14 @@ public:
checkString.overlappingStrcmp(); checkString.overlappingStrcmp();
checkString.checkIncorrectStringCompare(); checkString.checkIncorrectStringCompare();
checkString.sprintfOverlappingData(); checkString.sprintfOverlappingData();
checkString.checkAlwaysTrueOrFalseStringCompare();
} }
/** @brief Run checks against the simplified token list */ /** @brief Run checks against the simplified token list */
void runSimplifiedChecks(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger) OVERRIDE { void runSimplifiedChecks(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger) OVERRIDE {
CheckString checkString(tokenizer, settings, errorLogger); (void)tokenizer;
(void)settings;
// Checks (void)errorLogger;
checkString.checkAlwaysTrueOrFalseStringCompare();
} }
/** @brief undefined behaviour, writing string literal */ /** @brief undefined behaviour, writing string literal */