summaryrefslogtreecommitdiffstats
path: root/lldb
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2017-12-01 23:29:04 +0000
committerVedant Kumar <vsk@apple.com>2017-12-01 23:29:04 +0000
commit02de50fdc497f334144ca5d98720a1a27e75fd05 (patch)
tree5be9defb7965c4876a2156e8b0b3c3a70da6ff6b /lldb
parent01e86df684898f2ebf3fcb80aed7ba3cae8a31f5 (diff)
downloadbcm5719-llvm-02de50fdc497f334144ca5d98720a1a27e75fd05.tar.gz
bcm5719-llvm-02de50fdc497f334144ca5d98720a1a27e75fd05.zip
Fix warnings in JSON.cpp, NFC
These asserts are no-ops, and are supplanted by -Wcovered-switch. llvm-svn: 319596
Diffstat (limited to 'lldb')
-rw-r--r--lldb/tools/debugserver/source/JSON.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lldb/tools/debugserver/source/JSON.cpp b/lldb/tools/debugserver/source/JSON.cpp
index c914f2498f0..439918b6fcc 100644
--- a/lldb/tools/debugserver/source/JSON.cpp
+++ b/lldb/tools/debugserver/source/JSON.cpp
@@ -58,7 +58,6 @@ uint64_t JSONNumber::GetAsUnsigned() const {
case DataType::Double:
return (uint64_t)m_data.m_double;
}
- assert("Unhandled data type");
}
int64_t JSONNumber::GetAsSigned() const {
@@ -70,7 +69,6 @@ int64_t JSONNumber::GetAsSigned() const {
case DataType::Double:
return (int64_t)m_data.m_double;
}
- assert("Unhandled data type");
}
double JSONNumber::GetAsDouble() const {
@@ -82,7 +80,6 @@ double JSONNumber::GetAsDouble() const {
case DataType::Double:
return m_data.m_double;
}
- assert("Unhandled data type");
}
void JSONNumber::Write(std::ostream &s) {
OpenPOWER on IntegriCloud