From c98c7a2ebfc5f013a5caedfc07e6a75cc390edb7 Mon Sep 17 00:00:00 2001 From: orbitcowboy Date: Thu, 4 Oct 2018 17:13:11 +0200 Subject: [PATCH] suppressions: Avoid duplicate comparison. --- lib/suppressions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/suppressions.h b/lib/suppressions.h index f21832f8c..01e26ed4f 100644 --- a/lib/suppressions.h +++ b/lib/suppressions.h @@ -67,7 +67,7 @@ public: if (errorId != other.errorId) return errorId < other.errorId; if (lineNumber < other.lineNumber) - return lineNumber < other.lineNumber; + return true; if (fileName != other.fileName) return fileName < other.fileName; if (symbolName != other.symbolName)