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:
parent
fe5d0c56ba
commit
c000fd581a
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue