From 3879f633ce82f1bffce6069abb521cf7272df600 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Mon, 1 Aug 2016 12:12:43 +1000 Subject: [PATCH] Balancer: remove redundant assignment Change-Id: I6c22d6227e43a2c5be454955eff6b053a94a1657 --- includes/tidy/Balancer.php | 1 - 1 file changed, 1 deletion(-) diff --git a/includes/tidy/Balancer.php b/includes/tidy/Balancer.php index 20f8f55a58..21acdb3c7c 100644 --- a/includes/tidy/Balancer.php +++ b/includes/tidy/Balancer.php @@ -980,7 +980,6 @@ class BalanceStack implements IteratorAggregate { * @param int $idx */ public function popTo( $idx ) { - $length = count( $this->elements ); for ( $length = count( $this->elements ); $length > $idx; $length-- ) { $this->pop(); } -- 2.20.1