CheckOther: Use %op% in CheckUnsignedDivision
This commit is contained in:
parent
ad8fb37fb0
commit
ec5ddb16b4
|
@ -928,7 +928,7 @@ void CheckOther::checkUnsignedDivision()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (Token::Match(tok, "[([=*/+-,] %num% / %var%"))
|
else if (Token::Match(tok, "(|[|=|%op% %num% / %var%"))
|
||||||
{
|
{
|
||||||
if (tok->strAt(1)[0] == '-')
|
if (tok->strAt(1)[0] == '-')
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue