Removed unreachable code
This commit is contained in:
parent
66599b4ade
commit
29dc42ff67
|
@ -1409,11 +1409,6 @@ bool TemplateSimplifier::simplifyCalculations(Token *_tokens)
|
|||
}
|
||||
}
|
||||
}
|
||||
// Division where result is a whole number
|
||||
else if (Token::Match(tok->previous(), "* %num% /") &&
|
||||
tok->str() == MathLib::multiply(tok->strAt(2), MathLib::divide(tok->str(), tok->strAt(2)))) {
|
||||
tok->deleteNext(2);
|
||||
}
|
||||
|
||||
else if (simplifyNumericCalculations(tok)) {
|
||||
ret = true;
|
||||
|
|
Loading…
Reference in New Issue