From: Greg Clayton Date: Fri, 1 Feb 2013 02:52:31 +0000 (+0000) Subject: Make sure a value is returned for Thread::ReturnFromFrame(). X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=abb487f57a1929b20e87af1380eb9d964bd0ce1e;p=platform%2Fupstream%2Fllvm.git Make sure a value is returned for Thread::ReturnFromFrame(). llvm-svn: 174141 --- diff --git a/lldb/source/Target/Thread.cpp b/lldb/source/Target/Thread.cpp index a794c98..f0893ba 100644 --- a/lldb/source/Target/Thread.cpp +++ b/lldb/source/Target/Thread.cpp @@ -1585,18 +1585,17 @@ Thread::ReturnFromFrame (lldb::StackFrameSP frame_sp, lldb::ValueObjectSP return thread->ClearStackFrames(); if (broadcast && EventTypeHasListeners(eBroadcastBitStackChanged)) BroadcastEvent(eBroadcastBitStackChanged, new ThreadEventData (this->shared_from_this())); - return return_error; } else { return_error.SetErrorString("Could not reset register values."); - return return_error; } } else { return_error.SetErrorString("Returned past top frame."); } + return return_error; } void