diff --git a/Frameworks/Sparkle/SUUIBasedUpdateDriver.m b/Frameworks/Sparkle/SUUIBasedUpdateDriver.m index 59404a0e4..fffdfd404 100644 --- a/Frameworks/Sparkle/SUUIBasedUpdateDriver.m +++ b/Frameworks/Sparkle/SUUIBasedUpdateDriver.m @@ -199,11 +199,9 @@ } } -// XXX -#pragma GCC diagnostic ignored "-Wformat-security" - (void)abortUpdateWithError:(NSError *)error { - NSAlert *alert = [NSAlert alertWithMessageText:SULocalizedString(@"Update Error!", nil) defaultButton:SULocalizedString(@"Cancel Update", nil) alternateButton:nil otherButton:nil informativeTextWithFormat:[error localizedDescription]]; + NSAlert *alert = [NSAlert alertWithMessageText:SULocalizedString(@"Update Error!", nil) defaultButton:SULocalizedString(@"Cancel Update", nil) alternateButton:nil otherButton:nil informativeTextWithFormat:@"%@", [error localizedDescription]]; [self showModalAlert:alert]; [super abortUpdateWithError:error]; }