Fix Cppcheck message

This commit is contained in:
Daniel Marjamäki 2013-04-07 19:33:46 +02:00
parent 14fc140592
commit 4abe1c0bac
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@
static void printlist(const std::list<Token *> &list)
{
for (std::list<Token *>::const_iterator it = list.begin(); it != list.end(); it++) {
for (std::list<Token *>::const_iterator it = list.begin(); it != list.end(); ++it) {
const Token *token = *it;
std::cout << " ";
while (token && !Token::Match(token, "[{};]")) {