From ad863775db301b7f8418c60d64b58c54ca58a75a Mon Sep 17 00:00:00 2001 From: Dave Wood Date: Sun, 25 Mar 2018 23:05:37 -0400 Subject: [PATCH] =?UTF-8?q?Silence=20=E2=80=98This=20block=20declaration?= =?UTF-8?q?=20is=20not=20a=20prototype=E2=80=99=20Xcode=20warning?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sparkle/SUUIBasedUpdateDriver.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sparkle/SUUIBasedUpdateDriver.m b/Sparkle/SUUIBasedUpdateDriver.m index e65b845d..19370652 100644 --- a/Sparkle/SUUIBasedUpdateDriver.m +++ b/Sparkle/SUUIBasedUpdateDriver.m @@ -304,7 +304,7 @@ - (void)abortUpdateWithError:(NSError *)error { - void (^callback)() = ^{ + void (^callback)(void) = ^{ if (self.showErrors) { NSAlert *alert = [[NSAlert alloc] init]; alert.messageText = SULocalizedString(@"Update Error!", nil);