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.checkIncorrectStringCompare();
checkString.sprintfOverlappingData();
checkString.checkAlwaysTrueOrFalseStringCompare();
}
/** @brief Run checks against the simplified token list */
void runSimplifiedChecks(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger) OVERRIDE {
CheckString checkString(tokenizer, settings, errorLogger);
// Checks
checkString.checkAlwaysTrueOrFalseStringCompare();
(void)tokenizer;
(void)settings;
(void)errorLogger;
}
/** @brief undefined behaviour, writing string literal */