Removed handling of misspelled error ID stlBoundaries in Suppressions

This commit is contained in:
PKEuS 2016-01-31 12:25:30 +01:00
parent e660c55d39
commit c831577322
1 changed files with 0 additions and 5 deletions

View File

@ -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 + "\"";