cleanup: continued with the removing of the security. Some more work is needed but now everything compiles and runs at least.
This commit is contained in:
parent
2961f29b57
commit
11bc5195b8
|
@ -49,7 +49,6 @@ HEADERS += mainwindow.h \
|
|||
../src/checkautovariables.h \
|
||||
../src/checkdangerousfunctions.h \
|
||||
../src/checkheaders.h \
|
||||
../src/checksecurity.h \
|
||||
../src/cppcheck.h \
|
||||
../src/mathlib.h \
|
||||
../src/settings.h \
|
||||
|
@ -102,7 +101,6 @@ SOURCES += main.cpp \
|
|||
../src/token.cpp \
|
||||
../src/checkclass.cpp \
|
||||
../src/checkheaders.cpp \
|
||||
../src/checksecurity.cpp \
|
||||
../src/cppcheckexecutor.cpp \
|
||||
../src/checkunusedfunctions.cpp \
|
||||
../src/settings.cpp \
|
||||
|
|
|
@ -311,7 +311,6 @@ Settings MainWindow::GetCppcheckSettings()
|
|||
result._force = mSettings->value(SETTINGS_CHECK_FORCE, 1).toBool();
|
||||
result._xml = false;
|
||||
result._unusedFunctions = false;
|
||||
result._security = true;
|
||||
result._jobs = mSettings->value(SETTINGS_CHECK_THREADS, 1).toInt();
|
||||
|
||||
if (result._jobs <= 0)
|
||||
|
|
|
@ -328,12 +328,6 @@ public:
|
|||
}
|
||||
|
||||
|
||||
static bool unvalidatedInput(const Settings &s)
|
||||
{
|
||||
return s._security;
|
||||
}
|
||||
|
||||
|
||||
static std::string callStackToString(const std::list<ErrorLogger::ErrorMessage::FileLocation> &callStack);
|
||||
|
||||
private:
|
||||
|
|
|
@ -30,7 +30,6 @@ Settings::Settings()
|
|||
_force = false;
|
||||
_xml = false;
|
||||
_unusedFunctions = false;
|
||||
_security = false;
|
||||
_jobs = 1;
|
||||
_exitCode = 0;
|
||||
}
|
||||
|
|
|
@ -53,9 +53,6 @@ public:
|
|||
/** Checking if there are unused functions */
|
||||
bool _unusedFunctions;
|
||||
|
||||
/** Security checks */
|
||||
bool _security;
|
||||
|
||||
/** How many processes/threads should do checking at the same
|
||||
time. Default is 1. */
|
||||
unsigned int _jobs;
|
||||
|
|
Loading…
Reference in New Issue