From ec4c96d68566debcc4588c4189b4ef8a5f78729a Mon Sep 17 00:00:00 2001 From: Raphael Isemann Date: Tue, 12 Nov 2019 10:58:46 +0100 Subject: [PATCH] [lldb][NFC] Simplify a return in ThreadPlanStepInRange::DefaultShouldStopHereCallback We know should_stop_here is false here, so we might as well return false directly. --- lldb/source/Target/ThreadPlanStepInRange.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Target/ThreadPlanStepInRange.cpp b/lldb/source/Target/ThreadPlanStepInRange.cpp index 71045cc..77772ae 100644 --- a/lldb/source/Target/ThreadPlanStepInRange.cpp +++ b/lldb/source/Target/ThreadPlanStepInRange.cpp @@ -392,7 +392,7 @@ bool ThreadPlanStepInRange::DefaultShouldStopHereCallback( should_stop_here = ThreadPlanShouldStopHere::DefaultShouldStopHereCallback( current_plan, flags, operation, status, baton); if (!should_stop_here) - return should_stop_here; + return false; if (should_stop_here && current_plan->GetKind() == eKindStepInRange && operation == eFrameCompareYounger) { -- 2.7.4