We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0d3e73 commit a86606bCopy full SHA for a86606b
1 file changed
lib/suppressions.cpp
@@ -815,7 +815,7 @@ bool polyspace::Parser::parseAnnotation(polyspace::Annotation &annotation)
815
std::string extraComment = nextToken().substr(1);
816
817
if (extraComment.size() > 1)
818
- extraComment.substr(0, extraComment.size() - 1);
+ extraComment = extraComment.substr(0, extraComment.size() - 1);
819
820
annotation.extraComment = extraComment;
821
}
0 commit comments