diff --git a/lldb/tools/lldb-vscode/lldb-vscode.cpp b/lldb/tools/lldb-vscode/lldb-vscode.cpp --- a/lldb/tools/lldb-vscode/lldb-vscode.cpp +++ b/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;