Skip to content

Commit fb31080

Browse files
committed
add unreachable statement
1 parent 81a75cc commit fb31080

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/errorlogger.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -971,6 +971,7 @@ std::string getClassification(const std::string &guideline, ReportType reportTyp
971971
info = isDirective ? &checkers::misraC2025Directives : &checkers::misraC2025Rules;
972972
break;
973973
default:
974+
cppcheck::unreachable();
974975
break;
975976
}
976977

0 commit comments

Comments
 (0)