Robert Reif: fix cppcheck post increment warning

This commit is contained in:
Daniel Marjamäki 2009-12-25 15:19:36 +01:00
parent 44a629ec74
commit 1a25e40180
1 changed files with 1 additions and 1 deletions

View File

@ -323,7 +323,7 @@ void CppCheck::parseFromArgs(int argc, const char* const argv[])
{ {
// Execute recursiveAddFiles() to each given file parameter // Execute recursiveAddFiles() to each given file parameter
std::vector<std::string>::const_iterator iter; std::vector<std::string>::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); FileLister::recursiveAddFiles(_filenames, iter->c_str(), true);
} }