Fix comment about wrong magic number
This commit is contained in:
parent
4708be09f5
commit
78316f02b6
|
@ -591,7 +591,7 @@ void CheckBufferOverrun::checkFunctionParameter(const Token &tok, unsigned int p
|
||||||
|
|
||||||
// Parse function call. When a ',' is seen, arg is decremented.
|
// Parse function call. When a ',' is seen, arg is decremented.
|
||||||
// if arg becomes 1 then the current function parameter is the wanted parameter.
|
// if arg becomes 1 then the current function parameter is the wanted parameter.
|
||||||
// if arg becomes 1000 then multiply current and next argument.
|
// if arg becomes 1001 then multiply current and next argument.
|
||||||
const Token *tok2 = tok.tokAt(2)->nextArgument();
|
const Token *tok2 = tok.tokAt(2)->nextArgument();
|
||||||
if (arg == 3)
|
if (arg == 3)
|
||||||
tok2 = tok2->nextArgument();
|
tok2 = tok2->nextArgument();
|
||||||
|
|
Loading…
Reference in New Issue