Commit 29d5e275 authored by Jim Ingham's avatar Jim Ingham
Browse files

Only ask once if we have no commands. NFC.

parent c844f884
Loading
Loading
Loading
Loading
+5 −7
Original line number Diff line number Diff line
@@ -145,7 +145,6 @@ public:
  }

  Status OptionParsingFinished(ExecutionContext *execution_context) override {
    if (!m_commands.empty()) {
    if (!m_commands.empty()) {
      auto cmd_data = std::make_unique<BreakpointOptions::CommandData>();

@@ -155,7 +154,6 @@ public:
      cmd_data->stop_on_error = true;
      m_bp_opts.SetCommandDataCallback(cmd_data);
    }
    }
    return Status();
  }