From 32db72a2fcee88f670b3b9dfd8df21516292d0ec Mon Sep 17 00:00:00 2001 From: Kent Sutherland Date: Mon, 4 May 2020 19:03:07 -0500 Subject: [PATCH] Fix format warning --- Sparkle/SPUUpdater.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sparkle/SPUUpdater.m b/Sparkle/SPUUpdater.m index 469acd81..c0ef80d1 100644 --- a/Sparkle/SPUUpdater.m +++ b/Sparkle/SPUUpdater.m @@ -116,7 +116,7 @@ NSString *const SUUpdaterAppcastNotificationKey = @"SUUpdaterAppCastNotification - (instancetype)initForBundle:(NSBundle *)__unused bundle { NSString *reason = [NSString stringWithFormat:@"-[%@ initForBundle:] is not implemented anymore in Sparkle 2.", NSStringFromClass([self class])]; - SULog(SULogLevelError, reason); + SULog(SULogLevelError, @"%@", reason); NSException *exception = [NSException exceptionWithName:@"SUIncorrectAPIUsageException" reason:reason userInfo:nil]; @throw exception; @@ -128,7 +128,7 @@ NSString *const SUUpdaterAppcastNotificationKey = @"SUUpdaterAppCastNotification - (instancetype)init { NSString *reason = [NSString stringWithFormat:@"-[%@ init] is not implemented. If you want to drop an updater into a nib, see SPUStandardUpdaterController.", NSStringFromClass([self class])]; - SULog(SULogLevelError, reason); + SULog(SULogLevelError, @"%@", reason); NSException *exception = [NSException exceptionWithName:@"SUIncorrectAPIUsageException" reason:reason userInfo:nil]; @throw exception;