Skip to content

Commit eb774c0

Browse files
Fix unused variable warning in Scala 2.12
1 parent 20a44ae commit eb774c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/shared/src/main/scala/fs2/concurrent/Topic.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ object Topic {
221221

222222
def unsubscribe(id: Long): F[Unit] =
223223
state.flatModify {
224-
case s @ State.Active(subs, nextId, _, _) =>
224+
case s @ State.Active(subs, _, _, _) =>
225225
// _After_ we remove the bounded channel for this
226226
// subscriber, we need to drain it to unblock to
227227
// publish loop which might have already enqueued

0 commit comments

Comments
 (0)