Skip to content

Commit a86606b

Browse files
committed
fixup-rewrite
1 parent b0d3e73 commit a86606b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/suppressions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,7 @@ bool polyspace::Parser::parseAnnotation(polyspace::Annotation &annotation)
815815
std::string extraComment = nextToken().substr(1);
816816

817817
if (extraComment.size() > 1)
818-
extraComment.substr(0, extraComment.size() - 1);
818+
extraComment = extraComment.substr(0, extraComment.size() - 1);
819819

820820
annotation.extraComment = extraComment;
821821
}

0 commit comments

Comments
 (0)