parent
142f921d52
commit
509cb35168
|
@ -451,7 +451,7 @@ unsigned int CppCheck::checkFile(const std::string& filename, const std::string
|
||||||
false);
|
false);
|
||||||
|
|
||||||
reportErr(errmsg);
|
reportErr(errmsg);
|
||||||
if(mSuppressInternalErrorFound){
|
if (mSuppressInternalErrorFound) {
|
||||||
internalErrorFound = false;
|
internalErrorFound = false;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
|
@ -615,7 +615,7 @@ private:
|
||||||
"}\n"
|
"}\n"
|
||||||
"f(0, 1);\n";
|
"f(0, 1);\n";
|
||||||
ASSERT_EQUALS(1, checkSuppression(file3, "zerodiv:test.cpp:3")); // suppress 'errordiv' at line 3 of test.cpp
|
ASSERT_EQUALS(1, checkSuppression(file3, "zerodiv:test.cpp:3")); // suppress 'errordiv' at line 3 of test.cpp
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue