Refactor lib/checkcondition.cpp
This commit is contained in:
parent
043b64467b
commit
17bd2f0c72
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue