aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-05-04 11:56:22 -0700
committerGitHub <noreply@github.com>2025-05-04 11:56:22 -0700
commit61714c16be4935d03f52ea7f11cee2f58a82d9fd (patch)
tree5cbd3c62af7bfdaa177948295db0a10844e17ad3 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
parentac69fcf54f28128d0b72143c88a3a7a87dfd3bd4 (diff)
downloadllvm-61714c16be4935d03f52ea7f11cee2f58a82d9fd.zip
llvm-61714c16be4935d03f52ea7f11cee2f58a82d9fd.tar.gz
llvm-61714c16be4935d03f52ea7f11cee2f58a82d9fd.tar.bz2
[lldb] Remove unused local variables (NFC) (#138457)
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
index f924d11..709d09f 100644
--- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
@@ -2056,7 +2056,6 @@ ProcessGDBRemote::SetThreadStopInfo(StructuredData::Dictionary *thread_dict) {
// Stop with signal and thread info
lldb::tid_t tid = LLDB_INVALID_THREAD_ID;
uint8_t signo = 0;
- std::string value;
std::string thread_name;
std::string reason;
std::string description;
@@ -2276,7 +2275,6 @@ StateType ProcessGDBRemote::SetThreadStopInfo(StringExtractor &stop_packet) {
m_jstopinfo_sp = StructuredData::ParseJSON(json);
} else if (key.compare("hexname") == 0) {
StringExtractor name_extractor(value);
- std::string name;
// Now convert the HEX bytes into a string value
name_extractor.GetHexByteString(thread_name);
} else if (key.compare("name") == 0) {