From 4419f4a34230037d7a1b5bdfe4420935ed49b2bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Wed, 23 Dec 2009 12:16:02 +0100 Subject: [PATCH] Robert Reif: fix a style warning --- lib/cppcheck.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cppcheck.cpp b/lib/cppcheck.cpp index d4f474741..702d90a59 100644 --- a/lib/cppcheck.cpp +++ b/lib/cppcheck.cpp @@ -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::const_iterator iter;