[Lldb-commits] [lldb] r314604 - [lldb-mi] Add a default case to placate GCC with -Werror.

Davide Italiano via lldb-commits lldb-commits at lists.llvm.org
Sat Sep 30 14:30:41 PDT 2017


Author: davide
Date: Sat Sep 30 14:30:41 2017
New Revision: 314604

URL: http://llvm.org/viewvc/llvm-project?rev=314604&view=rev
Log:
[lldb-mi] Add a default case to placate GCC with -Werror.

Modified:
    lldb/trunk/tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp

Modified: lldb/trunk/tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp?rev=314604&r1=314603&r2=314604&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp (original)
+++ lldb/trunk/tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp Sat Sep 30 14:30:41 2017
@@ -217,6 +217,8 @@ bool CMICmnLLDBDebuggerHandleEvents::Han
   const lldb::BreakpointEventType eEvent =
       lldb::SBBreakpoint::GetBreakpointEventTypeFromEvent(vEvent);
   switch (eEvent) {
+  default:
+    break
   case lldb::eBreakpointEventTypeThreadChanged:
     pEventType = "eBreakpointEventTypeThreadChanged";
     break;




More information about the lldb-commits mailing list