Fixed typo in warning about modified variable inside assertion (#1542)

This commit is contained in:
Oliver Schode 2018-12-28 15:24:50 +01:00 committed by Daniel Marjamäki
parent ee3fd0af03
commit 1dd4c7a71e
1 changed files with 1 additions and 1 deletions

View File

@ -3380,7 +3380,7 @@ void CheckOther::assignmentInAssertError(const Token *tok, const std::string &va
{
reportError(tok, Severity::warning,
"assignmentInAssert", "Assert statement modifies '" + varname + "'.\n"
"Variable '" + varname + "' is modified insert assert statement. "
"Variable '" + varname + "' is modified inside assert statement. "
"Assert statements are removed from release builds so the code inside "
"assert statement is not run. If the code is needed also in release "
"builds this is a bug.");