From 149d688e9a261d10a6bcafb6571b66ee2d99ddb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Tue, 22 Jan 2019 06:45:22 +0100 Subject: [PATCH] Fix return value from ErrorLogger::reportUnmatchedSuppressions --- lib/errorlogger.cpp | 3 +++ 1 file changed, 3 insertions(+) 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)