Don't print message about missing source files when --errorlist used.

Also exit with zero status in this case.

Fix for 5193a36a6a commit.
This commit is contained in:
Slava Semushin 2009-06-10 02:05:21 +07:00
parent fe5d0c56ba
commit c000fd581a
1 changed files with 1 additions and 0 deletions

View File

@ -214,6 +214,7 @@ std::string CppCheck::parseFromArgs(int argc, const char* const argv[])
{ {
(*it)->getErrorMessages(); (*it)->getErrorMessages();
} }
return "";
} }
else if (strncmp(argv[i], "-", 1) == 0 || strncmp(argv[i], "--", 2) == 0) else if (strncmp(argv[i], "-", 1) == 0 || strncmp(argv[i], "--", 2) == 0)