Robert Reif: fix cppcheck post increment warning
This commit is contained in:
parent
44a629ec74
commit
1a25e40180
|
@ -323,7 +323,7 @@ void CppCheck::parseFromArgs(int argc, const char* const argv[])
|
|||
{
|
||||
// Execute recursiveAddFiles() to each given file parameter
|
||||
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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue