diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2021-08-22 19:00:43 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2021-11-13 20:39:49 +0000 |
commit | fe6060f10f634930ff71b7c50291ddc610da2475 (patch) | |
tree | 1483580c790bd4d27b6500a7542b5ee00534d3cc /contrib/llvm-project/lldb/source/Commands/CommandObjectVersion.cpp | |
parent | b61bce17f346d79cecfd8f195a64b10f77be43b1 (diff) | |
parent | 344a3780b2e33f6ca763666c380202b18aab72a3 (diff) |
Diffstat (limited to 'contrib/llvm-project/lldb/source/Commands/CommandObjectVersion.cpp')
-rw-r--r-- | contrib/llvm-project/lldb/source/Commands/CommandObjectVersion.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/llvm-project/lldb/source/Commands/CommandObjectVersion.cpp b/contrib/llvm-project/lldb/source/Commands/CommandObjectVersion.cpp index 065cbe4660d3..20c2d25b745c 100644 --- a/contrib/llvm-project/lldb/source/Commands/CommandObjectVersion.cpp +++ b/contrib/llvm-project/lldb/source/Commands/CommandObjectVersion.cpp @@ -20,7 +20,7 @@ CommandObjectVersion::CommandObjectVersion(CommandInterpreter &interpreter) : CommandObjectParsed(interpreter, "version", "Show the LLDB debugger version.", "version") {} -CommandObjectVersion::~CommandObjectVersion() {} +CommandObjectVersion::~CommandObjectVersion() = default; bool CommandObjectVersion::DoExecute(Args &args, CommandReturnObject &result) { if (args.GetArgumentCount() == 0) { @@ -28,7 +28,6 @@ bool CommandObjectVersion::DoExecute(Args &args, CommandReturnObject &result) { result.SetStatus(eReturnStatusSuccessFinishResult); } else { result.AppendError("the version command takes no arguments."); - result.SetStatus(eReturnStatusFailed); } return true; } |