From 568b0de17091aea712d411d15ff2ecf8b947b7c5 Mon Sep 17 00:00:00 2001 From: Zachary Turner <zturner@google.com> Date: Wed, 18 Feb 2015 18:44:03 +0000 Subject: [PATCH] Fix warning that not all control-paths return from function. llvm-svn: 229718 --- .../Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h index 4beeade241d9..8e2fd5467328 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h @@ -383,7 +383,7 @@ public: case eWatchpointWrite: return m_supports_z2; case eWatchpointRead: return m_supports_z3; case eWatchpointReadWrite: return m_supports_z4; - case eStoppointInvalid: return false; + default: return false; } } uint8_t