aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectSource.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2011-11-29 21:21:26 +0000
committerJim Ingham <jingham@apple.com>2011-11-29 21:21:26 +0000
commit9c978444049decdd2cd0abb917fd7e0d92dd1db7 (patch)
tree935378ca6bdc05c589ff8cebf5a3cb1f3467d22c /lldb/source/Commands/CommandObjectSource.cpp
parente309e75d5a3463420d8a7417965678ec8f4bfe38 (diff)
downloadllvm-9c978444049decdd2cd0abb917fd7e0d92dd1db7.zip
llvm-9c978444049decdd2cd0abb917fd7e0d92dd1db7.tar.gz
llvm-9c978444049decdd2cd0abb917fd7e0d92dd1db7.tar.bz2
Missing return in error handling for "source list".
llvm-svn: 145435
Diffstat (limited to 'lldb/source/Commands/CommandObjectSource.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectSource.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Commands/CommandObjectSource.cpp b/lldb/source/Commands/CommandObjectSource.cpp
index 9623ebc..07e133c 100644
--- a/lldb/source/Commands/CommandObjectSource.cpp
+++ b/lldb/source/Commands/CommandObjectSource.cpp
@@ -277,6 +277,7 @@ public:
{
result.AppendErrorWithFormat("'%s' takes no arguments, only flags.\n", GetCommandName());
result.SetStatus (eReturnStatusFailed);
+ return false;
}
ExecutionContext exe_ctx(m_interpreter.GetExecutionContext());