From: Tim Starling Date: Mon, 1 Aug 2016 02:12:43 +0000 (+1000) Subject: Balancer: remove redundant assignment X-Git-Tag: 1.31.0-rc.0~6137^2~2 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=3879f633ce82f1bffce6069abb521cf7272df600;p=lhc%2Fweb%2Fwiklou.git Balancer: remove redundant assignment Change-Id: I6c22d6227e43a2c5be454955eff6b053a94a1657 --- 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(); }