mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-27 05:04:27 +00:00
Silence ‘This block declaration is not a prototype’ Xcode warning
This commit is contained in:
1 file changed
+1
-1
Vendored
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user