Skip to content

Commit 7e44db9

Browse files
authored
[lldb][NFC] Remove unused variables (#188385)
Remove unused local variable `s` in GDBRemoteCommunication::CheckForPacket and unused member `m_step_thread_idx` in CommandObjectThreadUntil.
1 parent 60c911a commit 7e44db9

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

lldb/source/Commands/CommandObjectThread.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,6 @@ class CommandObjectThreadUntil : public CommandObjectParsed {
857857
return llvm::ArrayRef(g_thread_until_options);
858858
}
859859

860-
uint32_t m_step_thread_idx = LLDB_INVALID_THREAD_ID;
861860
bool m_stop_others = false;
862861
std::vector<lldb::addr_t> m_until_addrs;
863862

lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,6 @@ GDBRemoteCommunication::CheckForPacket(const uint8_t *src, size_t src_len,
612612

613613
if (src && src_len > 0) {
614614
if (log && log->GetVerbose()) {
615-
StreamString s;
616615
LLDB_LOGF(log, "GDBRemoteCommunication::%s adding %u bytes: %.*s",
617616
__FUNCTION__, (uint32_t)src_len, (uint32_t)src_len, src);
618617
}

0 commit comments

Comments
 (0)