Fixed #8929 ('cppcheck -E' should output valid/compileable code)

This commit is contained in:
Daniel Marjamäki 2019-05-11 14:00:39 +02:00
parent d58d4273f9
commit 45d874bf75
1 changed files with 1 additions and 0 deletions

View File

@ -431,6 +431,7 @@ bool CmdLineParser::parseFromArgs(int argc, const char* const argv[])
// -E // -E
else if (std::strcmp(argv[i], "-E") == 0) { else if (std::strcmp(argv[i], "-E") == 0) {
mSettings->preprocessOnly = true; mSettings->preprocessOnly = true;
mSettings->quiet = true;
} }
// Include paths // Include paths