Refactor lib/checkcondition.cpp

This commit is contained in:
jrp2014 2018-04-05 15:53:49 +02:00 committed by Daniel Marjamäki
parent 043b64467b
commit 17bd2f0c72
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,7 @@ bool CheckCondition::assignIfParseScope(const Token * const assignTok,
} }
} }
bool ret1 = assignIfParseScope(assignTok, end->tokAt(2), varid, islocal, bitop, num); const bool ret1 = assignIfParseScope(assignTok, end->tokAt(2), varid, islocal, bitop, num);
bool ret2 = false; bool ret2 = false;
if (Token::simpleMatch(end->next()->link(), "} else {")) if (Token::simpleMatch(end->next()->link(), "} else {"))
ret2 = assignIfParseScope(assignTok, end->next()->link()->tokAt(3), varid, islocal, bitop, num); ret2 = assignIfParseScope(assignTok, end->next()->link()->tokAt(3), varid, islocal, bitop, num);