Skip to content

Commit

Permalink
Underscore unused return properties
Browse files Browse the repository at this point in the history
  • Loading branch information
AvdLee committed Jun 29, 2019
1 parent 695a364 commit c90e333
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ final class UIControlSubscription<SubscriberType: Subscriber, Control: UIControl

func request(_ demand: Subscribers.Demand) {
guard demand > 0 else { return }
subscriber?.receive(control)
_ = subscriber?.receive(control)
}

func cancel() {
subscriber = nil
}

@objc private func eventHandler() {
subscriber?.receive(control)
_ = subscriber?.receive(control)
}

deinit {
Expand Down

0 comments on commit c90e333

Please sign in to comment.