From 1a25e40180d49eeb7f040cbaddbba8c272c5375c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Fri, 25 Dec 2009 15:19:36 +0100 Subject: [PATCH] Robert Reif: fix cppcheck post increment warning --- lib/cppcheck.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cppcheck.cpp b/lib/cppcheck.cpp index 702d90a59..005cb7ed4 100644 --- a/lib/cppcheck.cpp +++ b/lib/cppcheck.cpp @@ -323,7 +323,7 @@ void CppCheck::parseFromArgs(int argc, const char* const argv[]) { // Execute recursiveAddFiles() to each given file parameter std::vector::const_iterator iter; - for (iter = pathnames.begin(); iter != pathnames.end(); iter++) + for (iter = pathnames.begin(); iter != pathnames.end(); ++iter) FileLister::recursiveAddFiles(_filenames, iter->c_str(), true); }