Warnings cleanup patch from Jean-Daniel Dupas.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@109226 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Target/Thread.cpp b/source/Target/Thread.cpp
index fe9f7f5..2cf64d1 100644
--- a/source/Target/Thread.cpp
+++ b/source/Target/Thread.cpp
@@ -938,7 +938,7 @@
{
thread_plan_sp.reset(new ThreadPlanStepThrough (*this, stop_other_threads));
if (thread_plan_sp && !thread_plan_sp->ValidatePlan (NULL))
- return false;
+ return NULL;
}
QueueThreadPlan (thread_plan_sp, abort_other_plans);
return thread_plan_sp.get();