Move CheckString::checkAlwaysTrueOrFalseStringCompare() from runSimplifiedChecks() to runChecks()
This commit is contained in:
parent
4e6d4e4ddd
commit
ef6fc67da4
|
@ -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 */
|
||||||
|
|
Loading…
Reference in New Issue