Visual Studio: Fixed compiler warning. Ticket: #2123
This commit is contained in:
parent
306587b1d0
commit
13b8544436
|
@ -249,7 +249,7 @@ void CheckOther::checkAssignmentInAssert()
|
|||
{
|
||||
assignmentInAssertError(tok, varTok->str());
|
||||
}
|
||||
else if ((varTok = Token::findmatch(tok->tokAt(2), "--|++ %var%", endTok)))
|
||||
else if (NULL != (varTok = Token::findmatch(tok->tokAt(2), "--|++ %var%", endTok)))
|
||||
{
|
||||
assignmentInAssertError(tok, varTok->strAt(1));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue