From 446f326225cb9113d39b7d1b11b9eb13e1e7d652 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Mon, 4 Feb 2013 20:38:29 +0100 Subject: [PATCH] GUI: fixed cppcheck-warning for comparing unsigned variable with '<= 0' --- gui/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index 0e1e41654..926ac6a63 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -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; }