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); }