dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
d90fee7
)
Merge "Balancer: remove redundant assignment"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Fri, 5 Aug 2016 00:27:25 +0000
(
00:27
+0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Fri, 5 Aug 2016 00:27:25 +0000
(
00:27
+0000)
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();
}