astyle formatting

This commit is contained in:
Daniel Marjamäki 2010-04-13 19:30:51 +02:00
parent bd7dc9946e
commit 8373a6d4cb
1 changed files with 2 additions and 2 deletions

View File

@ -2795,11 +2795,11 @@ void CheckOther::emptyStringTestError(const Token *tok, const std::string &var_n
if (isTestForEmpty) if (isTestForEmpty)
{ {
reportError(tok, Severity::possibleStyle, reportError(tok, Severity::possibleStyle,
"emptyStringTest", "Empty string test can be simplified to \"*" + var_name + " == '\\0'\""); "emptyStringTest", "Empty string test can be simplified to \"*" + var_name + " == '\\0'\"");
} }
else else
{ {
reportError(tok, Severity::possibleStyle, reportError(tok, Severity::possibleStyle,
"emptyStringTest", "Non-empty string test can be simplified to \"*" + var_name + " != '\\0'\""); "emptyStringTest", "Non-empty string test can be simplified to \"*" + var_name + " != '\\0'\"");
} }
} }