diff options
Diffstat (limited to 'lldb/source/Commands/CommandObjectPlugin.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectPlugin.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lldb/source/Commands/CommandObjectPlugin.cpp b/lldb/source/Commands/CommandObjectPlugin.cpp index 8661ebb..f228851 100644 --- a/lldb/source/Commands/CommandObjectPlugin.cpp +++ b/lldb/source/Commands/CommandObjectPlugin.cpp @@ -44,12 +44,12 @@ public: } protected: - bool DoExecute(Args &command, CommandReturnObject &result) override { + void DoExecute(Args &command, CommandReturnObject &result) override { size_t argc = command.GetArgumentCount(); if (argc != 1) { result.AppendError("'plugin load' requires one argument"); - return false; + return; } Status error; @@ -62,8 +62,6 @@ protected: else { result.AppendError(error.AsCString()); } - - return result.Succeeded(); } }; |