Author: Kazu Hirata Date: 2025-12-05T11:55:54-08:00 New Revision: acb97429762cfc980a20a9ecbadbf73e28319a86
URL: https://github.com/llvm/llvm-project/commit/acb97429762cfc980a20a9ecbadbf73e28319a86 DIFF: https://github.com/llvm/llvm-project/commit/acb97429762cfc980a20a9ecbadbf73e28319a86.diff LOG: [lldb] Fix a warning This patch fixes: lldb/source/Commands/CommandObjectBreakpoint.cpp:1266:21: error: unused variable 'expr' [-Werror,-Wunused-variable] Added: Modified: lldb/source/Commands/CommandObjectBreakpoint.cpp Removed: ################################################################################ diff --git a/lldb/source/Commands/CommandObjectBreakpoint.cpp b/lldb/source/Commands/CommandObjectBreakpoint.cpp index 8e163fbfb8942..78bbd23744293 100644 --- a/lldb/source/Commands/CommandObjectBreakpoint.cpp +++ b/lldb/source/Commands/CommandObjectBreakpoint.cpp @@ -1263,7 +1263,6 @@ class CommandObjectBreakpointAddPattern : public CommandObjectRaw { } OptionsWithRaw args(command); - llvm::StringRef expr = args.GetRawPart(); if (args.HasArgs()) { if (!ParseOptionsAndNotify(args.GetArgs(), result, m_all_options, _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
