summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
diff options
context:
space:
mode:
authorDaniel Malea <daniel.malea@intel.com>2012-12-07 20:51:09 +0000
committerDaniel Malea <daniel.malea@intel.com>2012-12-07 20:51:09 +0000
commit89660bf7959ea4d2aeab12e934c60fc0cc18e2ec (patch)
tree3b37f1cb961ac1cb59d265b94e9ba1bf80f2d6eb /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
parent4ec32d3d90a725234f6ea5b426673cd1a8f69971 (diff)
downloadbcm5719-llvm-89660bf7959ea4d2aeab12e934c60fc0cc18e2ec.tar.gz
bcm5719-llvm-89660bf7959ea4d2aeab12e934c60fc0cc18e2ec.zip
More Linux warnings fixes (remove default labels as needed):
- as per http://llvm.org/docs/CodingStandards.html#don-t-use-default-labels-in-fully-covered-switches-over-enumerations Patch by Matt Kopec! llvm-svn: 169633
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
index 42bf768b17b..9aa504110db 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
@@ -1987,7 +1987,6 @@ GDBRemoteCommunicationClient::SendGDBStoppointTypePacket (GDBStoppointType type,
case eWatchpointWrite: if (!m_supports_z2) return UINT8_MAX; break;
case eWatchpointRead: if (!m_supports_z3) return UINT8_MAX; break;
case eWatchpointReadWrite: if (!m_supports_z4) return UINT8_MAX; break;
- default: return UINT8_MAX;
}
char packet[64];
@@ -2017,7 +2016,6 @@ GDBRemoteCommunicationClient::SendGDBStoppointTypePacket (GDBStoppointType type,
case eWatchpointWrite: m_supports_z2 = false; break;
case eWatchpointRead: m_supports_z3 = false; break;
case eWatchpointReadWrite: m_supports_z4 = false; break;
- default: break;
}
}
OpenPOWER on IntegriCloud