astyle fix

This commit is contained in:
Reijo Tomperi 2009-05-18 23:30:43 +03:00
parent bad464ae9b
commit 927918f9b0
2 changed files with 3 additions and 3 deletions

View File

@ -77,11 +77,11 @@ struct CheckClass::VAR *CheckClass::ClassChecking_GetVarList(const Token *tok1,
// If next token contains a ":".. it is not part of a variable declaration
if (next->str().find(":") != std::string::npos)
continue;
continue;
// Variable declarations that start with "static" shall be ignored..
if (next->str() == "static")
continue;
continue;
// Is it a variable declaration?
if (Token::Match(next, "%type% %var% ;"))

View File

@ -323,7 +323,7 @@ private:
" Fred() { }\n"
" static void *p;\n"
"};\n");
ASSERT_EQUALS("", errout.str());
ASSERT_EQUALS("", errout.str());
}