mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-26 04:57:54 +00:00
Fix DEBUG -Wundef warning
This commit is contained in:
1 parent
457319f217
commit
8dadd0003e
1 file changed
+2
-1
Vendored
+2
-1
@@ -69,7 +69,8 @@ NSString *const SUUpdaterAppcastNotificationKey = @"SUUpdaterAppCastNotification
|
||||
static NSMutableDictionary *sharedUpdaters = nil;
|
||||
static NSString *const SUUpdaterDefaultsObservationContext = @"SUUpdaterDefaultsObservationContext";
|
||||
|
||||
#if DEBUG
|
||||
// Debug is not defined in released builds and pedantic mode can enable -Wundef
|
||||
#if defined(DEBUG) && DEBUG
|
||||
+ (void)load
|
||||
{
|
||||
// Debug builds have different configurations for update check intervals
|
||||
|
||||
Reference in new issue
Block a user