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); _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits