Fixed two comments and GUI build
This commit is contained in:
parent
6548f20d9a
commit
cfde690bb2
|
@ -147,7 +147,7 @@ bool CmdLineParser::ParseFromArgs(int argc, const char* const argv[])
|
||||||
CppCheckExecutor::setExceptionOutput(exceptionOutfilename);
|
CppCheckExecutor::setExceptionOutput(exceptionOutfilename);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Inconclusive checking (still in testing phase)
|
// Inconclusive checking
|
||||||
else if (std::strcmp(argv[i], "--inconclusive") == 0)
|
else if (std::strcmp(argv[i], "--inconclusive") == 0)
|
||||||
_settings->inconclusive = true;
|
_settings->inconclusive = true;
|
||||||
|
|
||||||
|
@ -333,7 +333,7 @@ bool CmdLineParser::ParseFromArgs(int argc, const char* const argv[])
|
||||||
else if (std::strcmp(argv[i], "-q") == 0 || std::strcmp(argv[i], "--quiet") == 0)
|
else if (std::strcmp(argv[i], "-q") == 0 || std::strcmp(argv[i], "--quiet") == 0)
|
||||||
_settings->quiet = true;
|
_settings->quiet = true;
|
||||||
|
|
||||||
// Append userdefined code to checked source code
|
// Append user-defined code to checked source code
|
||||||
else if (std::strncmp(argv[i], "--append=", 9) == 0) {
|
else if (std::strncmp(argv[i], "--append=", 9) == 0) {
|
||||||
const std::string filename = 9 + argv[i];
|
const std::string filename = 9 + argv[i];
|
||||||
if (!_settings->append(filename)) {
|
if (!_settings->append(filename)) {
|
||||||
|
|
|
@ -647,7 +647,7 @@ Settings MainWindow::GetCppcheckSettings()
|
||||||
result.addEnabled("missingInclude");
|
result.addEnabled("missingInclude");
|
||||||
result.debug = false;
|
result.debug = false;
|
||||||
result.debugwarnings = mSettings->value(SETTINGS_SHOW_DEBUG_WARNINGS, false).toBool();
|
result.debugwarnings = mSettings->value(SETTINGS_SHOW_DEBUG_WARNINGS, false).toBool();
|
||||||
result._errorsOnly = false;
|
result.quiet = false;
|
||||||
result._verbose = true;
|
result._verbose = true;
|
||||||
result._force = mSettings->value(SETTINGS_CHECK_FORCE, 1).toBool();
|
result._force = mSettings->value(SETTINGS_CHECK_FORCE, 1).toBool();
|
||||||
result._xml = false;
|
result._xml = false;
|
||||||
|
|
Loading…
Reference in New Issue