diff options
author | Vitaly Takmazov | 2020-10-08 17:22:59 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2020-12-10 18:59:55 +0300 |
commit | 5c5c4239d8b7948232870bd6d5f8d3a87c5f50d0 (patch) | |
tree | 04d6a23969cd60e7adc588bfe1c680918faafc83 /Juick/MessageFetcher.swift | |
parent | cf97b1cd43a91725e0419a953815287fde0bf70f (diff) |
Fix warnings
Diffstat (limited to 'Juick/MessageFetcher.swift')
-rw-r--r-- | Juick/MessageFetcher.swift | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Juick/MessageFetcher.swift b/Juick/MessageFetcher.swift index b478e9e..fd1f7f1 100644 --- a/Juick/MessageFetcher.swift +++ b/Juick/MessageFetcher.swift @@ -25,7 +25,7 @@ class MessageFetcher: ObservableObject { @Published var state: LoadableState<Feed> = .loading init(url: String) { - guard let apiUrl = URL(string: url) else { + guard let _ = URL(string: url) else { state = .fetched(.failure(.error("Malformed API URL."))) return } |