Fix comment about wrong magic number

This commit is contained in:
Thomas Jarosch 2012-12-28 11:31:50 +01:00
parent 4708be09f5
commit 78316f02b6
1 changed files with 1 additions and 1 deletions

View File

@ -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();