[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:
committed by
GitHub
parent
2e9ab7cf96
commit
f875dd1016
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user