[Lldb-commits] [PATCH] D122710: [lldb-vscode] Avoid a -Wunused-but-set-variable warning. NFC.
Martin Storsjö via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Mar 30 14:11:35 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rGa37cb5ece513: [lldb-vscode] Avoid a -Wunused-but-set-variable warning. NFC. (authored by mstorsjo).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122710/new/
https://reviews.llvm.org/D122710
Files:
lldb/tools/lldb-vscode/lldb-vscode.cpp
Index: lldb/tools/lldb-vscode/lldb-vscode.cpp
===================================================================
--- lldb/tools/lldb-vscode/lldb-vscode.cpp
+++ lldb/tools/lldb-vscode/lldb-vscode.cpp
@@ -3246,7 +3246,6 @@
g_vsc.output.descriptor = StreamDescriptor::from_file(new_stdout_fd, false);
}
- uint32_t packet_idx = 0;
while (!g_vsc.sent_terminated_event) {
llvm::json::Object object;
lldb_vscode::PacketStatus status = g_vsc.GetNextObject(object);
@@ -3257,7 +3256,6 @@
if (!g_vsc.HandleObject(object))
return 1;
- ++packet_idx;
}
return EXIT_SUCCESS;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122710.419263.patch
Type: text/x-patch
Size: 611 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220330/24d759f2/attachment.bin>
More information about the lldb-commits
mailing list