[Lldb-commits] [lldb] 95e460a - [lldb] Fix a warning
Kazu Hirata via lldb-commits
lldb-commits at lists.llvm.org
Mon Mar 3 07:38:14 PST 2025
Author: Kazu Hirata
Date: 2025-03-03T07:38:09-08:00
New Revision: 95e460a3878555907ae8e8afe350b40ea8150005
URL: https://github.com/llvm/llvm-project/commit/95e460a3878555907ae8e8afe350b40ea8150005
DIFF: https://github.com/llvm/llvm-project/commit/95e460a3878555907ae8e8afe350b40ea8150005.diff
LOG: [lldb] Fix a warning
This patch fixes:
lldb/source/Core/Debugger.cpp:1002:10: error: lambda capture 'this'
is not used [-Werror,-Wunused-lambda-capture]
Added:
Modified:
lldb/source/Core/Debugger.cpp
Removed:
################################################################################
diff --git a/lldb/source/Core/Debugger.cpp b/lldb/source/Core/Debugger.cpp
index 68d1bd30cc5b0..dbe3d72e5efa4 100644
--- a/lldb/source/Core/Debugger.cpp
+++ b/lldb/source/Core/Debugger.cpp
@@ -1001,6 +1001,7 @@ void Debugger::Clear() {
telemetry::ScopedDispatcher<telemetry::DebuggerInfo> helper(
[this](lldb_private::telemetry::DebuggerInfo *info) {
assert(this == info->debugger);
+ (void)this;
info->is_exit_entry = true;
},
this);
More information about the lldb-commits
mailing list