From 927918f9b00aebcf33328eaddd1e892c4c15c4cc Mon Sep 17 00:00:00 2001 From: Reijo Tomperi Date: Mon, 18 May 2009 23:30:43 +0300 Subject: [PATCH] astyle fix --- src/checkclass.cpp | 4 ++-- test/testconstructors.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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()); }