[lldb][nfc] Remove redundant check in if statement (#135869)

We already check this boolean in the `if` statement two lines above.
This commit is contained in:
Felipe de Azevedo Piovezan
2025-04-16 08:10:29 -07:00
committed by GitHub
parent 2e9ab7cf96
commit f875dd1016

View File

@@ -370,7 +370,7 @@ bool ThreadPlanStepInRange::DefaultShouldStopHereCallback(
if (!should_stop_here)
return false;
if (should_stop_here && current_plan->GetKind() == eKindStepInRange &&
if (current_plan->GetKind() == eKindStepInRange &&
operation == eFrameCompareYounger) {
ThreadPlanStepInRange *step_in_range_plan =
static_cast<ThreadPlanStepInRange *>(current_plan);