Fixed cppcheck message

This commit is contained in:
PKEuS 2014-08-06 14:31:09 +02:00
parent 639f1fa85a
commit b708022e97
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ void CheckVaarg::va_start_argument()
referenceAs_va_start_error(param2, var->name());
if (var->index() + 2 < function->argCount() && _settings->isEnabled("warning")) {
std::list<Variable>::const_reverse_iterator it = function->argumentList.rbegin();
it++;
++it;
wrongParameterTo_va_start_error(tok, var->name(), it->name());
}
tok = tok->linkAt(1);