Skip to content
This repository has been archived by the owner on Feb 19, 2020. It is now read-only.

Commit

Permalink
Specify block as void
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Scholtysik (Reimold) committed Dec 12, 2017
1 parent b6c0d55 commit 903de60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Classes/BITChannel.m
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,8 @@ - (void)createBackgroundTaskWhileDataIsSending:(UIApplication *)application
backgroundTask = UIBackgroundTaskInvalid;
}];
__block NSUInteger i = 0;
__block __weak void (^weakWaitBlock)();
void (^waitBlock)();
__block __weak void (^weakWaitBlock)(void);
void (^waitBlock)(void);
weakWaitBlock = waitBlock = ^{
if (i < queues.count) {
dispatch_queue_t queue = [queues objectAtIndex:i++];
Expand Down

0 comments on commit 903de60

Please sign in to comment.