From ef0901c6d29f904de33a492e1affa6b37d8cc61c Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Wed, 4 Dec 2024 18:47:18 -0800 Subject: [PATCH] Fix warning about unused variable. --- .../Sources/Account/LocalAccount/LocalAccountRefresher.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Account/Sources/Account/LocalAccount/LocalAccountRefresher.swift b/Account/Sources/Account/LocalAccount/LocalAccountRefresher.swift index 3654d8e5d..2aaea393d 100644 --- a/Account/Sources/Account/LocalAccount/LocalAccountRefresher.swift +++ b/Account/Sources/Account/LocalAccount/LocalAccountRefresher.swift @@ -89,7 +89,7 @@ extension LocalAccountRefresher: DownloadSessionDelegate { return } - if let error { + if error != nil { return }