Skip to content

Commit 4faf1cf

Browse files
committed
Remove unused variables
... Swift 5.3 tells you.
1 parent a3ac298 commit 4faf1cf

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

Sources/DirectToSwiftUI/Support/FoundationExtras.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ extension String {
8686
return needle.range(of: needle)
8787
}
8888

89-
let len = count
9089
let slen = needle.count
9190
let sc = needle.first!
9291

Sources/DirectToSwiftUI/Views/BasicLook/Pages/Login.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ public extension BasicLook.Page {
6363

6464
private func login() {
6565
// FIXME: Make async, add spinner, all the good stuff ;-)
66-
let pwd = password
6766
defer { password = "" }
6867

6968
loginUser = nil

0 commit comments

Comments
 (0)