From def5d84647a17f3f771fa1a8da2ae47cebf9e434 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Sun, 18 Oct 2020 18:39:22 -0700 Subject: [PATCH] Remove no-longer-used variable and fix warning. --- Frameworks/Account/LocalAccount/LocalAccountRefresher.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Frameworks/Account/LocalAccount/LocalAccountRefresher.swift b/Frameworks/Account/LocalAccount/LocalAccountRefresher.swift index 3ed75b47a..cd088d720 100644 --- a/Frameworks/Account/LocalAccount/LocalAccountRefresher.swift +++ b/Frameworks/Account/LocalAccount/LocalAccountRefresher.swift @@ -98,7 +98,7 @@ extension LocalAccountRefresher: DownloadSessionDelegate { } func downloadSession(_ downloadSession: DownloadSession, shouldContinueAfterReceivingData data: Data, representedObject: AnyObject) -> Bool { - guard !isSuspended, let feed = representedObject as? WebFeed else { + guard !isSuspended else { return false }