Silence ‘This block declaration is not a prototype’ Xcode warning

This commit is contained in:
Dave Wood committed 2018-03-25 23:05:37 -04:00
1 parent 79511c982a
commit ad863775db
1 file changed
+1 -1
+1 -1
View File
@@ -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);