From 9c9a630da90997f607e1a75045549bcd49c0405f Mon Sep 17 00:00:00 2001 From: Friedemann Kleint <Friedemann.Kleint@nokia.com> Date: Fri, 29 Oct 2010 13:48:14 +0200 Subject: [PATCH] Debugger: Avoid warnings from debugger when using -client. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Do not parse options if empty (when a file was passed to the core). Reviewed-by: Thorbjørn <thorbjorn.lindeijer@nokia.com> --- src/plugins/debugger/debuggerplugin.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp index 820ad4e3917..27b5a989054 100644 --- a/src/plugins/debugger/debuggerplugin.cpp +++ b/src/plugins/debugger/debuggerplugin.cpp @@ -2868,6 +2868,9 @@ bool DebuggerPlugin::hasSnapsnots() const void DebuggerPlugin::remoteCommand(const QStringList &options, const QStringList &) { + if (options.isEmpty()) + return; + unsigned enabledEngines = 0; QString errorMessage; bool success = false; -- GitLab