dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77eceb1
)
Balancer: remove redundant assignment
author
Tim Starling
<tstarling@wikimedia.org>
Mon, 1 Aug 2016 02:12:43 +0000
(12:12 +1000)
committer
Cscott
<cananian@wikimedia.org>
Thu, 4 Aug 2016 22:05:50 +0000
(22:05 +0000)
Change-Id: I6c22d6227e43a2c5be454955eff6b053a94a1657
includes/tidy/Balancer.php
patch
|
blob
|
history
diff --git
a/includes/tidy/Balancer.php
b/includes/tidy/Balancer.php
index
20f8f55
..
21acdb3
100644
(file)
--- 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();
}