diff options
Diffstat (limited to 'contrib/llvm-project/lldb/source/Commands/CommandObjectApropos.cpp')
-rw-r--r-- | contrib/llvm-project/lldb/source/Commands/CommandObjectApropos.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/contrib/llvm-project/lldb/source/Commands/CommandObjectApropos.cpp b/contrib/llvm-project/lldb/source/Commands/CommandObjectApropos.cpp index 6e1e1f061733..656487169a34 100644 --- a/contrib/llvm-project/lldb/source/Commands/CommandObjectApropos.cpp +++ b/contrib/llvm-project/lldb/source/Commands/CommandObjectApropos.cpp @@ -86,11 +86,9 @@ bool CommandObjectApropos::DoExecute(Args &args, CommandReturnObject &result) { result.SetStatus(eReturnStatusSuccessFinishNoResult); } else { result.AppendError("'' is not a valid search word.\n"); - result.SetStatus(eReturnStatusFailed); } } else { result.AppendError("'apropos' must be called with exactly one argument.\n"); - result.SetStatus(eReturnStatusFailed); } return result.Succeeded(); |