Fixed #8929 ('cppcheck -E' should output valid/compileable code)
This commit is contained in:
parent
d58d4273f9
commit
45d874bf75
|
@ -431,6 +431,7 @@ bool CmdLineParser::parseFromArgs(int argc, const char* const argv[])
|
|||
// -E
|
||||
else if (std::strcmp(argv[i], "-E") == 0) {
|
||||
mSettings->preprocessOnly = true;
|
||||
mSettings->quiet = true;
|
||||
}
|
||||
|
||||
// Include paths
|
||||
|
|
Loading…
Reference in New Issue