Skip to content

Commit

Permalink
fix warning for unused variable self
Browse files Browse the repository at this point in the history
  • Loading branch information
beckychristensen committed Oct 12, 2022
1 parent aa5291b commit 9f0ac7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/KqueueSelector.swift
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ public final class KqueueSelector: Selector {
fileDescriptorIOEvents[fileDescriptor] = ioEvents
}
let fdMap = fileDescriptorMap
return fileDescriptorIOEvents.compactMap { [weak self] event in
return fileDescriptorIOEvents.compactMap { event in
fdMap[event.0].map { ($0, event.1) } ?? nil
}
}
Expand Down

0 comments on commit 9f0ac7c

Please sign in to comment.