From 771b193924bb3a1a074a47800650d7697e08473c Mon Sep 17 00:00:00 2001 From: Jakob Date: Sat, 14 Dec 2019 22:53:56 +0100 Subject: [PATCH] Use self to avoid warning --- Sparkle/SUUpdater.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sparkle/SUUpdater.m b/Sparkle/SUUpdater.m index af69e01e..66743b58 100644 --- a/Sparkle/SUUpdater.m +++ b/Sparkle/SUUpdater.m @@ -84,7 +84,7 @@ static NSMutableDictionary *sharedUpdaters = nil; // either in applicationWillFinishLaunching: or by setting properties right after initialisation dispatch_async(dispatch_get_main_queue(), ^{ NSError *updaterError = nil; - if (![_updater startUpdater:&updaterError]) { + if (![self.updater startUpdater:&updaterError]) { SULog(SULogLevelError, @"Error: Failed to start updater with error: %@", updaterError); abort(); }