GUI: fixed cppcheck-warning for comparing unsigned variable with '<= 0'

This commit is contained in:
Daniel Marjamäki 2013-02-04 20:38:29 +01:00
parent a39a2479da
commit 446f326225
1 changed files with 1 additions and 1 deletions

View File

@ -525,7 +525,7 @@ Settings MainWindow::GetCppcheckSettings()
result.standards.c = mSettings->value(SETTINGS_STD_C99, false).toBool() ? Standards::C99 : Standards::C89;
result.standards.posix = mSettings->value(SETTINGS_STD_POSIX, false).toBool();
if (result._jobs <= 0) {
if (result._jobs <= 1) {
result._jobs = 1;
}