From 9eb5e28cce31a89ef6156020ea237fc9722148c3 Mon Sep 17 00:00:00 2001 From: Chris Moeller Date: Tue, 22 Oct 2013 18:41:32 -0700 Subject: [PATCH] Fixed compiling Sparkle with the 10.9 SDK --- Frameworks/Sparkle/SUUIBasedUpdateDriver.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Frameworks/Sparkle/SUUIBasedUpdateDriver.m b/Frameworks/Sparkle/SUUIBasedUpdateDriver.m index dc37e0561..59404a0e4 100644 --- a/Frameworks/Sparkle/SUUIBasedUpdateDriver.m +++ b/Frameworks/Sparkle/SUUIBasedUpdateDriver.m @@ -199,6 +199,8 @@ } } +// 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]];