summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/Thread.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2012-10-12 17:34:26 +0000
committerJim Ingham <jingham@apple.com>2012-10-12 17:34:26 +0000
commit28eb57114d05dd100d9b4a56e0a00be85cd09e3b (patch)
tree61467023c9112981c8ff375d429b244c7b95c475 /lldb/source/Target/Thread.cpp
parente87f41f43e5d5dafa5794a1f78c849a774ea989a (diff)
downloadbcm5719-llvm-28eb57114d05dd100d9b4a56e0a00be85cd09e3b.tar.gz
bcm5719-llvm-28eb57114d05dd100d9b4a56e0a00be85cd09e3b.zip
Bunch of cleanups for warnings found by the llvm static analyzer.
llvm-svn: 165808
Diffstat (limited to 'lldb/source/Target/Thread.cpp')
-rw-r--r--lldb/source/Target/Thread.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Target/Thread.cpp b/lldb/source/Target/Thread.cpp
index 5a48a0ad4a3..6e505f2119b 100644
--- a/lldb/source/Target/Thread.cpp
+++ b/lldb/source/Target/Thread.cpp
@@ -1451,6 +1451,7 @@ Thread::ReturnFromFrame (lldb::StackFrameSP frame_sp, lldb::ValueObjectSP return
if (!abi)
{
return_error.SetErrorString("Could not find ABI to set return value.");
+ return return_error;
}
SymbolContext sc = frame_sp->GetSymbolContext(eSymbolContextFunction);
OpenPOWER on IntegriCloud