From c8315773227bdaafe3212e53588e40a87347d564 Mon Sep 17 00:00:00 2001 From: PKEuS Date: Sun, 31 Jan 2016 12:25:30 +0100 Subject: [PATCH] Removed handling of misspelled error ID stlBoundaries in Suppressions --- lib/suppressions.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/suppressions.cpp b/lib/suppressions.cpp index 1543d7cff..dc38413cd 100644 --- a/lib/suppressions.cpp +++ b/lib/suppressions.cpp @@ -222,11 +222,6 @@ std::string Suppressions::addSuppression(const std::string &errorId, const std:: return "Failed to add suppression. No id."; } if (errorId != "*") { - // Support "stlBoundries", as that was the name of the errorId until v1.59. - if (errorId == "stlBoundries") { - return _suppressions["stlBoundaries"].addFile(file, line); - } - for (std::string::size_type pos = 0; pos < errorId.length(); ++pos) { if (errorId[pos] < 0 || (!std::isalnum(errorId[pos]) && errorId[pos] != '_')) { return "Failed to add suppression. Invalid id \"" + errorId + "\"";