Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Commit 793f8ac

Browse files
committed
Remove an unused variable
1 parent 9810d10 commit 793f8ac

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

WordPressAuthenticator/Signin/Login2FAViewController.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,6 @@ extension Login2FAViewController {
316316
displayError(message: "")
317317

318318
configureViewLoading(false)
319-
let err = error as NSError
320319
let bad2FAMessage = NSLocalizedString("Whoops, that's not a valid two-factor verification code. Double-check your code and try again!", comment: "Error message shown when an incorrect two factor code is provided.")
321320
if (error as? WordPressComOAuthError)?.authenticationFailureKind == .invalidOneTimePassword {
322321
// Invalid verification code.

0 commit comments

Comments
 (0)