From 45d874bf753ade86e1137024f01f6a5dcebd3ee9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sat, 11 May 2019 14:00:39 +0200 Subject: [PATCH] Fixed #8929 ('cppcheck -E' should output valid/compileable code) --- cli/cmdlineparser.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/cli/cmdlineparser.cpp b/cli/cmdlineparser.cpp index fdecb079d..2b4bf8587 100644 --- a/cli/cmdlineparser.cpp +++ b/cli/cmdlineparser.cpp @@ -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