Skip to content

Commit ec4c96d

Browse files
committed
[lldb][NFC] Simplify a return in ThreadPlanStepInRange::DefaultShouldStopHereCallback
We know should_stop_here is false here, so we might as well return false directly.
1 parent ebe2f56 commit ec4c96d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Target/ThreadPlanStepInRange.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ bool ThreadPlanStepInRange::DefaultShouldStopHereCallback(
392392
should_stop_here = ThreadPlanShouldStopHere::DefaultShouldStopHereCallback(
393393
current_plan, flags, operation, status, baton);
394394
if (!should_stop_here)
395-
return should_stop_here;
395+
return false;
396396

397397
if (should_stop_here && current_plan->GetKind() == eKindStepInRange &&
398398
operation == eFrameCompareYounger) {

0 commit comments

Comments
 (0)