Skip to content

Commit f9d396f

Browse files
authored
Merge pull request scala/scala#10812 from som-snytt/issue/10287-for-warnings
Fix unused warnings in for comprehensions [ci: last-only]
2 parents fe71e70 + 8323af9 commit f9d396f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/scala/collection/immutable/RedBlackTree.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1236,7 +1236,7 @@ private[collection] object RedBlackTree {
12361236
if((t1 eq null) || (t2 eq null)) t1
12371237
else if (t1 eq t2) null
12381238
else {
1239-
val (l1, _, r1, k1) = split(t1, t2.key)
1239+
val (l1, _, r1, _) = split(t1, t2.key)
12401240
val tl = _difference(l1, t2.left)
12411241
val tr = _difference(r1, t2.right)
12421242
join2(tl, tr)

0 commit comments

Comments
 (0)