diff --git a/lib/cppcheck.cpp b/lib/cppcheck.cpp index 077956270..66c478e0e 100644 --- a/lib/cppcheck.cpp +++ b/lib/cppcheck.cpp @@ -451,7 +451,7 @@ unsigned int CppCheck::checkFile(const std::string& filename, const std::string false); reportErr(errmsg); - if(mSuppressInternalErrorFound){ + if (mSuppressInternalErrorFound) { internalErrorFound = false; continue; } diff --git a/test/testsuppressions.cpp b/test/testsuppressions.cpp index 9e1025100..0280acf2f 100644 --- a/test/testsuppressions.cpp +++ b/test/testsuppressions.cpp @@ -615,7 +615,7 @@ private: "}\n" "f(0, 1);\n"; ASSERT_EQUALS(1, checkSuppression(file3, "zerodiv:test.cpp:3")); // suppress 'errordiv' at line 3 of test.cpp - } + } };