Fix a bug introduced in an earlier revision: actually return the StopReason, when we have a StopInfo object.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@164825 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Target/Thread.cpp b/source/Target/Thread.cpp
index ee3a855..e002ec9 100644
--- a/source/Target/Thread.cpp
+++ b/source/Target/Thread.cpp
@@ -210,7 +210,7 @@
 {
     lldb::StopInfoSP stop_info_sp (GetStopInfo ());
     if (stop_info_sp)
-        stop_info_sp->GetStopReason();
+        return stop_info_sp->GetStopReason();
     return eStopReasonNone;
 }