From eaf60a4411f79a1addfa6c5d8ddf4b47e082881e Mon Sep 17 00:00:00 2001 From: David Spickett Date: Thu, 17 Jun 2021 12:32:23 +0100 Subject: [lldb] Remove redundant calls to set eReturnStatusFailed This is part 2, covering the commands source. Some uses remain where it's tricky to see what the logic is or they are not used with AppendError. Reviewed By: teemperor Differential Revision: https://reviews.llvm.org/D104448 --- lldb/source/Commands/CommandObjectLog.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'lldb/source/Commands/CommandObjectLog.cpp') diff --git a/lldb/source/Commands/CommandObjectLog.cpp b/lldb/source/Commands/CommandObjectLog.cpp index 288ffdb..05ffba2 100644 --- a/lldb/source/Commands/CommandObjectLog.cpp +++ b/lldb/source/Commands/CommandObjectLog.cpp @@ -151,7 +151,6 @@ protected: result.AppendErrorWithFormat( "%s takes a log channel and one or more log types.\n", m_cmd_name.c_str()); - result.SetStatus(eReturnStatusFailed); return false; } @@ -225,7 +224,6 @@ protected: result.AppendErrorWithFormat( "%s takes a log channel and one or more log types.\n", m_cmd_name.c_str()); - result.SetStatus(eReturnStatusFailed); return false; } -- cgit v1.1