diff options
Diffstat (limited to 'lldb/source/Commands/CommandObjectSession.cpp')
| -rw-r--r-- | lldb/source/Commands/CommandObjectSession.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lldb/source/Commands/CommandObjectSession.cpp b/lldb/source/Commands/CommandObjectSession.cpp index 6bf1ec99c888..d140bdfdba57 100644 --- a/lldb/source/Commands/CommandObjectSession.cpp +++ b/lldb/source/Commands/CommandObjectSession.cpp @@ -36,7 +36,7 @@ public: } protected: - bool DoExecute(Args &args, CommandReturnObject &result) override { + void DoExecute(Args &args, CommandReturnObject &result) override { llvm::StringRef file_path; if (!args.empty()) @@ -46,7 +46,6 @@ protected: result.SetStatus(eReturnStatusSuccessFinishNoResult); else result.SetStatus(eReturnStatusFailed); - return result.Succeeded(); } }; @@ -127,7 +126,7 @@ protected: OptionValueBoolean m_clear; }; - bool DoExecute(Args &command, CommandReturnObject &result) override { + void DoExecute(Args &command, CommandReturnObject &result) override { if (m_options.m_clear.GetCurrentValue() && m_options.m_clear.OptionWasSet()) { m_interpreter.GetCommandHistory().Clear(); @@ -189,7 +188,6 @@ protected: stop_idx.second); } } - return result.Succeeded(); } CommandOptions m_options; |
