[Lldb-commits] [lldb] r145435 - /lldb/trunk/source/Commands/CommandObjectSource.cpp
Jim Ingham
jingham at apple.com
Tue Nov 29 13:21:26 PST 2011
Author: jingham
Date: Tue Nov 29 15:21:26 2011
New Revision: 145435
URL: http://llvm.org/viewvc/llvm-project?rev=145435&view=rev
Log:
Missing return in error handling for "source list".
Modified:
lldb/trunk/source/Commands/CommandObjectSource.cpp
Modified: lldb/trunk/source/Commands/CommandObjectSource.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectSource.cpp?rev=145435&r1=145434&r2=145435&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectSource.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectSource.cpp Tue Nov 29 15:21:26 2011
@@ -277,6 +277,7 @@
{
result.AppendErrorWithFormat("'%s' takes no arguments, only flags.\n", GetCommandName());
result.SetStatus (eReturnStatusFailed);
+ return false;
}
ExecutionContext exe_ctx(m_interpreter.GetExecutionContext());
More information about the lldb-commits
mailing list