From 9d35c819fd2cf94592f0627f2e50f4c5edf5d08f Mon Sep 17 00:00:00 2001 From: Zorg Date: Sat, 7 Jan 2017 11:26:53 -0500 Subject: [PATCH] The SUAppcast * is not going to be nil here; fixes analyzer warning --- Sparkle/SUBasicUpdateDriver.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sparkle/SUBasicUpdateDriver.m b/Sparkle/SUBasicUpdateDriver.m index 54489936..6769690c 100644 --- a/Sparkle/SUBasicUpdateDriver.m +++ b/Sparkle/SUBasicUpdateDriver.m @@ -158,7 +158,7 @@ [[updater delegate] updater:self.updater didFinishLoadingAppcast:ac]; } - NSDictionary *userInfo = (ac != nil) ? @{ SUUpdaterAppcastNotificationKey: ac } : nil; + NSDictionary *userInfo = @{ SUUpdaterAppcastNotificationKey: ac }; [[NSNotificationCenter defaultCenter] postNotificationName:SUUpdaterDidFinishLoadingAppCastNotification object:self.updater userInfo:userInfo]; SUAppcastItem *item = nil;