From 8116cb39e114bf50ffa4917dbdedbb1bb06a51bb Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Fri, 2 Jun 2017 16:12:39 +0300 Subject: Debugger: Add missing breaks in switch statements Detected by GCC7 Change-Id: Ic4a1f0adac486d3f6d0f7da15b24e983c17225f3 Reviewed-by: Thiago Macieira --- src/plugins/debugger/debuggerprotocol.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins/debugger/debuggerprotocol.cpp') diff --git a/src/plugins/debugger/debuggerprotocol.cpp b/src/plugins/debugger/debuggerprotocol.cpp index ba28994589..8cd7d41bbe 100644 --- a/src/plugins/debugger/debuggerprotocol.cpp +++ b/src/plugins/debugger/debuggerprotocol.cpp @@ -660,6 +660,7 @@ QString decodeData(const QString &ba, const QString &encoding) union { char c[8]; double d; } u = {{s[7], s[6], s[5], s[4], s[3], s[2], s[1], s[0]}}; return QString::number(u.d); } + break; } case DebuggerEncoding::IPv6AddressAndHexScopeId: { // 16 hex-encoded bytes, "%" and the string-encoded scope const int p = ba.indexOf('%'); -- cgit v1.2.1