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

Commit d4de7b2

Browse files
author
Benjamin Scholtysik (Reimold)
authored
Merge pull request #488 from bitstadium/fix/warnings-when-integrating-from-source
Specify block as void
2 parents b6c0d55 + 903de60 commit d4de7b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Classes/BITChannel.m

+2-2
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,8 @@ - (void)createBackgroundTaskWhileDataIsSending:(UIApplication *)application
221221
backgroundTask = UIBackgroundTaskInvalid;
222222
}];
223223
__block NSUInteger i = 0;
224-
__block __weak void (^weakWaitBlock)();
225-
void (^waitBlock)();
224+
__block __weak void (^weakWaitBlock)(void);
225+
void (^waitBlock)(void);
226226
weakWaitBlock = waitBlock = ^{
227227
if (i < queues.count) {
228228
dispatch_queue_t queue = [queues objectAtIndex:i++];

0 commit comments

Comments
 (0)