summaryrefslogtreecommitdiff
path: root/Juick/MessageFetcher.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Juick/MessageFetcher.swift')
-rw-r--r--Juick/MessageFetcher.swift2
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
}