From f83f29193b6682d08f323e1679eb29030e16a0c7 Mon Sep 17 00:00:00 2001 From: Kent Sutherland Date: Mon, 4 May 2020 19:02:56 -0500 Subject: [PATCH] Remove __attribute__((noreturn)) since these methods no longer abort --- Sparkle/SPUAutomaticUpdateDriver.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sparkle/SPUAutomaticUpdateDriver.m b/Sparkle/SPUAutomaticUpdateDriver.m index 4c58c1d0..fece7af2 100644 --- a/Sparkle/SPUAutomaticUpdateDriver.m +++ b/Sparkle/SPUAutomaticUpdateDriver.m @@ -65,13 +65,13 @@ }]; } -- (void)resumeInstallingUpdateWithCompletion:(SPUUpdateDriverCompletion)__unused completionBlock __attribute__((noreturn)) +- (void)resumeInstallingUpdateWithCompletion:(SPUUpdateDriverCompletion)__unused completionBlock { // Nothing really to do here.. this shouldn't be called. SULog(SULogLevelError, @"Error: resumeInstallingUpdateWithCompletion: called on SPUAutomaticUpdateDriver"); } -- (void)resumeUpdate:(id)__unused resumableUpdate completion:(SPUUpdateDriverCompletion)__unused completionBlock __attribute__((noreturn)) +- (void)resumeUpdate:(id)__unused resumableUpdate completion:(SPUUpdateDriverCompletion)__unused completionBlock { // Nothing really to do here.. this shouldn't be called. SULog(SULogLevelError, @"Error: resumeDownloadedUpdate:completion: called on SPUAutomaticUpdateDriver");