Internals: Fix cppcheck warnings; no functional change intended

This commit is contained in:
Wilson Snyder
2011-08-04 21:58:45 -04:00
parent c83f2a4abd
commit df1da3dda9
35 changed files with 151 additions and 81 deletions
+1 -1
View File
@@ -370,7 +370,7 @@ void V3Error::suppressThisWarning() {
}
void V3Error::v3errorEnd (ostringstream& sstr) {
#ifdef __COVERITY__
#if defined(__COVERITY__) || defined(__cppcheck__)
if (s_errorCode==V3ErrorCode::EC_FATAL) __coverity_panic__(x);
#endif
if (!s_errorSuppressed