Fixed #5469 (CheckBufferOverrun: Use nullptr)

This commit is contained in:
Daniel Marjamäki 2014-02-28 16:18:36 +01:00
parent 940582645d
commit a41a32ba8a
1 changed files with 2 additions and 2 deletions

View File

@ -1878,9 +1878,9 @@ void CheckBufferOverrun::checkSprintfCall(const Token *tok, const MathLib::bigin
parameters.push_back(vaArg);
else
parameters.push_back(0);
parameters.push_back(nullptr);
} else // Parameter is more complex than just a value or variable. Ignore it for now and skip to next token.
parameters.push_back(0);
parameters.push_back(nullptr);
vaArg = vaArg->nextArgument();
}