summaryrefslogtreecommitdiffstats
path: root/lldb/tools
diff options
context:
space:
mode:
authorAlex Langford <apl@fb.com>2018-06-08 21:13:26 +0000
committerAlex Langford <apl@fb.com>2018-06-08 21:13:26 +0000
commit9391061fd7c7a09df6a502cf038f52e0402d7a69 (patch)
tree7c4e98ac8d80f1950ed1738e20ec746301995bd7 /lldb/tools
parent683e2d636d482ecd71dc7e6bd3cb28df03fd75d2 (diff)
downloadbcm5719-llvm-9391061fd7c7a09df6a502cf038f52e0402d7a69.tar.gz
bcm5719-llvm-9391061fd7c7a09df6a502cf038f52e0402d7a69.zip
Delete some dead code
llvm-svn: 334320
Diffstat (limited to 'lldb/tools')
-rw-r--r--lldb/tools/debugserver/source/RNBRemote.cpp5
-rw-r--r--lldb/tools/driver/Driver.cpp1
2 files changed, 0 insertions, 6 deletions
diff --git a/lldb/tools/debugserver/source/RNBRemote.cpp b/lldb/tools/debugserver/source/RNBRemote.cpp
index f3d96395209..8ba06be1d6a 100644
--- a/lldb/tools/debugserver/source/RNBRemote.cpp
+++ b/lldb/tools/debugserver/source/RNBRemote.cpp
@@ -5446,11 +5446,6 @@ rnb_err_t RNBRemote::HandlePacket_jThreadExtendedInfo(const char *p) {
p);
uint64_t dti_qos_class_index =
get_integer_value_for_key_name_from_json("dti_qos_class_index", p);
- // Commented out the two variables below as they are not being used
- // uint64_t dti_queue_index =
- // get_integer_value_for_key_name_from_json ("dti_queue_index", p);
- // uint64_t dti_voucher_index =
- // get_integer_value_for_key_name_from_json ("dti_voucher_index", p);
if (tid != INVALID_NUB_ADDRESS) {
nub_addr_t pthread_t_value = DNBGetPThreadT(pid, tid);
diff --git a/lldb/tools/driver/Driver.cpp b/lldb/tools/driver/Driver.cpp
index 7e1dec7a34f..58296b2eee8 100644
--- a/lldb/tools/driver/Driver.cpp
+++ b/lldb/tools/driver/Driver.cpp
@@ -866,7 +866,6 @@ SBError Driver::ParseArgs(int argc, const char *argv[], FILE *out_fh,
} else {
// Skip any options we consumed with getopt_long_only
argc -= optind;
- // argv += optind; // Commented out to keep static analyzer happy
if (argc > 0)
::fprintf(out_fh,
OpenPOWER on IntegriCloud