Robert Reif: fix a style warning

This commit is contained in:
Daniel Marjamäki 2009-12-23 12:16:02 +01:00
parent d2dc5806cd
commit 4419f4a342
1 changed files with 1 additions and 1 deletions

View File

@ -319,7 +319,7 @@ void CppCheck::parseFromArgs(int argc, const char* const argv[])
reportOut("unusedFunctions check can't be used with -j option, so it was disabled.");
}
if (pathnames.size() > 0)
if (!pathnames.empty())
{
// Execute recursiveAddFiles() to each given file parameter
std::vector<std::string>::const_iterator iter;