Revision: 12426 http://sourceforge.net/p/skim-app/code/12426 Author: hofman Date: 2021-09-29 15:44:01 +0000 (Wed, 29 Sep 2021) Log Message: ----------- Silence build time warnings about unused completion handlers that should already been disabled by the build settings
Modified Paths: -------------- trunk/vendorsrc/andymatuschak/Sparkle/Sparkle/SUUnarchiverNotifier.m trunk/vendorsrc/andymatuschak/Sparkle/Sparkle/SUUpdatePermissionPrompt.m Modified: trunk/vendorsrc/andymatuschak/Sparkle/Sparkle/SUUnarchiverNotifier.m =================================================================== --- trunk/vendorsrc/andymatuschak/Sparkle/Sparkle/SUUnarchiverNotifier.m 2021-09-29 14:41:11 UTC (rev 12425) +++ trunk/vendorsrc/andymatuschak/Sparkle/Sparkle/SUUnarchiverNotifier.m 2021-09-29 15:44:01 UTC (rev 12426) @@ -25,6 +25,8 @@ @synthesize completionBlock = _completionBlock; @synthesize progressBlock = _progressBlock; +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wcompletion-handler" - (instancetype)initWithCompletionBlock:(void (^)(NSError * _Nullable))completionBlock progressBlock:(void (^ _Nullable)(double))progressBlock { self = [super init]; @@ -34,6 +36,7 @@ } return self; } +#pragma clang diagnostic pop - (void)notifySuccess { Modified: trunk/vendorsrc/andymatuschak/Sparkle/Sparkle/SUUpdatePermissionPrompt.m =================================================================== --- trunk/vendorsrc/andymatuschak/Sparkle/Sparkle/SUUpdatePermissionPrompt.m 2021-09-29 14:41:11 UTC (rev 12425) +++ trunk/vendorsrc/andymatuschak/Sparkle/Sparkle/SUUpdatePermissionPrompt.m 2021-09-29 15:44:01 UTC (rev 12426) @@ -55,6 +55,8 @@ return [(NSNumber *)[self.host objectForInfoDictionaryKey:SUEnableSystemProfilingKey] boolValue]; } +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wcompletion-handler" - (instancetype)initWithHost:(SUHost *)aHost systemProfile:(NSArray *)profile reply:(void (^)(SUUpdatePermissionResponse *))reply { self = [super initWithWindowNibName:@"SUUpdatePermissionPrompt"]; @@ -87,6 +89,7 @@ } } } +#pragma clang diagnostic pop - (NSString *)description { return [NSString stringWithFormat:@"%@ <%@>", [self class], [self.host bundlePath]]; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Skim-app-commit mailing list Skim-app-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/skim-app-commit