[Lldb-commits] [lldb] r229718 - Fix warning that not all control-paths return from function.

Zachary Turner zturner at google.com
Wed Feb 18 10:44:03 PST 2015


Author: zturner
Date: Wed Feb 18 12:44:03 2015
New Revision: 229718

URL: http://llvm.org/viewvc/llvm-project?rev=229718&view=rev
Log:
Fix warning that not all control-paths return from function.

Modified:
    lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h

Modified: lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h?rev=229718&r1=229717&r2=229718&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h (original)
+++ lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h Wed Feb 18 12:44:03 2015
@@ -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





More information about the lldb-commits mailing list