[all-commits] [llvm/llvm-project] 850bc7: [lldb] BreakpointOptions::CommandData::CreateFromS...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sun Feb 27 03:33:36 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 850bc76a356b050b92851ad5a6a8207da05685cd
      https://github.com/llvm/llvm-project/commit/850bc76a356b050b92851ad5a6a8207da05685cd
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-02-27 (Sun, 27 Feb 2022)

  Changed paths:
    M lldb/source/Breakpoint/BreakpointOptions.cpp

  Log Message:
  -----------
  [lldb] BreakpointOptions::CommandData::CreateFromStructuredData - remove dead code + variable. NFCI.

The found_something bool is only ever read after it has always been set to true.

Looks to be a leftover debugging variable.

Fixes static analyzer warning: https://llvm.org/reports/scan-build/report-BreakpointOptions.cpp-CreateFromStructuredData-8-4055b9.html#EndPath




More information about the All-commits mailing list