Skip to content

Commit 1dd4c7a

Browse files
Oliver Schodedanmar
authored andcommitted
Fixed typo in warning about modified variable inside assertion (#1542)
1 parent ee3fd0a commit 1dd4c7a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gui/test/data/benchmark/simple.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3380,7 +3380,7 @@ void CheckOther::assignmentInAssertError(const Token *tok, const std::string &va
33803380
{
33813381
reportError(tok, Severity::warning,
33823382
"assignmentInAssert", "Assert statement modifies '" + varname + "'.\n"
3383-
"Variable '" + varname + "' is modified insert assert statement. "
3383+
"Variable '" + varname + "' is modified inside assert statement. "
33843384
"Assert statements are removed from release builds so the code inside "
33853385
"assert statement is not run. If the code is needed also in release "
33863386
"builds this is a bug.");

0 commit comments

Comments
 (0)