From b6b554e8302328832bb0f1e1a1dfb74df428d96d Mon Sep 17 00:00:00 2001 From: Zorg Date: Tue, 20 Dec 2016 20:54:35 -0500 Subject: [PATCH] Appcast instance cannot be nil here. --- Sparkle/SUAppcastDriver.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sparkle/SUAppcastDriver.m b/Sparkle/SUAppcastDriver.m index 36997144..13b17b3b 100644 --- a/Sparkle/SUAppcastDriver.m +++ b/Sparkle/SUAppcastDriver.m @@ -72,7 +72,7 @@ { [self.delegate 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;