diff options
author | Eike Ziller <eike.ziller@qt.io> | 2017-07-18 15:23:29 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2017-07-18 15:23:29 +0200 |
commit | 361fdad3be3421496be4dab014a8bee369687387 (patch) | |
tree | 4412737d90b20953064b8f53817c014ddc9714c3 /src/plugins/debugger/gdb/attachgdbadapter.cpp | |
parent | 5e38bdbfd8bef6c3bdcede9fe0be11f34e9a0f7c (diff) | |
parent | 41ae823bda7cc1bad4b85861d9b0e3087c130e4a (diff) |
Merge remote-tracking branch 'origin/4.4'
Change-Id: I778acc044ac105a11054b314aecac5b1c2cfee6a
Diffstat (limited to 'src/plugins/debugger/gdb/attachgdbadapter.cpp')
-rw-r--r-- | src/plugins/debugger/gdb/attachgdbadapter.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/debugger/gdb/attachgdbadapter.cpp b/src/plugins/debugger/gdb/attachgdbadapter.cpp index 11566a51be..519647d703 100644 --- a/src/plugins/debugger/gdb/attachgdbadapter.cpp +++ b/src/plugins/debugger/gdb/attachgdbadapter.cpp @@ -31,6 +31,7 @@ #include <debugger/debuggerstartparameters.h> #include <utils/qtcassert.h> +#include <utils/qtcfallthrough.h> namespace Debugger { namespace Internal { @@ -102,7 +103,7 @@ void GdbAttachEngine::handleAttach(const DebuggerResponse &response) notifyEngineIll(); break; } - // if msg != "ptrace: ..." fall through + Q_FALLTHROUGH(); // if msg != "ptrace: ..." default: showStatusMessage(tr("Failed to attach to application: %1") .arg(QString(response.data["msg"].data()))); |