diff --git a/src/tools/syncqt/main.cpp b/src/tools/syncqt/main.cpp index 11c3e54a6e..bbfae4bc58 100644 --- a/src/tools/syncqt/main.cpp +++ b/src/tools/syncqt/main.cpp @@ -303,7 +303,7 @@ private: if (arg.empty()) continue; - if (arg.size() > 0 && arg[0] == '-') { + if (arg[0] == '-') { currentValue = nullptr; currentListValue = nullptr; {