diff --git a/lib/errorlogger.cpp b/lib/errorlogger.cpp index 8699bcb0d..daaa696da 100644 --- a/lib/errorlogger.cpp +++ b/lib/errorlogger.cpp @@ -538,6 +538,7 @@ std::string ErrorLogger::ErrorMessage::toString(bool verbose, const std::string bool ErrorLogger::reportUnmatchedSuppressions(const std::list &unmatched) { + bool err = false; // Report unmatched suppressions for (const Suppressions::Suppression &s : unmatched) { // don't report "unmatchedSuppression" as unmatched @@ -563,7 +564,9 @@ bool ErrorLogger::reportUnmatchedSuppressions(const std::list &callStack)