CheckUninitVar: Use %op%
This commit is contained in:
parent
0a1d6efe8c
commit
ad8fb37fb0
|
@ -481,7 +481,7 @@ private:
|
|||
}
|
||||
|
||||
// Used..
|
||||
if (Token::Match(tok.previous(), "[[(,+-*/|=] %var% []),;+-*/|]"))
|
||||
if (Token::Match(tok.previous(), "[[(,+-*/|=] %var% ]|)|,|;|%op%"))
|
||||
{
|
||||
use(checks, &tok);
|
||||
return &tok;
|
||||
|
|
Loading…
Reference in New Issue