diff --git a/src/checkclass.cpp b/src/checkclass.cpp index a5e29af1c..5422aa5b6 100644 --- a/src/checkclass.cpp +++ b/src/checkclass.cpp @@ -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% ;")) diff --git a/test/testconstructors.cpp b/test/testconstructors.cpp index f210b5e1c..f9ed45660 100644 --- a/test/testconstructors.cpp +++ b/test/testconstructors.cpp @@ -323,7 +323,7 @@ private: " Fred() { }\n" " static void *p;\n" "};\n"); - ASSERT_EQUALS("", errout.str()); + ASSERT_EQUALS("", errout.str()); }