Skip to content

Commit c831577

Browse files
committed
Removed handling of misspelled error ID stlBoundaries in Suppressions
1 parent e660c55 commit c831577

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

lib/suppressions.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -222,11 +222,6 @@ std::string Suppressions::addSuppression(const std::string &errorId, const std::
222222
return "Failed to add suppression. No id.";
223223
}
224224
if (errorId != "*") {
225-
// Support "stlBoundries", as that was the name of the errorId until v1.59.
226-
if (errorId == "stlBoundries") {
227-
return _suppressions["stlBoundaries"].addFile(file, line);
228-
}
229-
230225
for (std::string::size_type pos = 0; pos < errorId.length(); ++pos) {
231226
if (errorId[pos] < 0 || (!std::isalnum(errorId[pos]) && errorId[pos] != '_')) {
232227
return "Failed to add suppression. Invalid id \"" + errorId + "\"";

0 commit comments

Comments
 (0)