Skip to content

Commit

Permalink
IOS-2816 Removing extra changes
Browse files Browse the repository at this point in the history
  • Loading branch information
megakoko committed Jan 12, 2023
1 parent e425dcc commit 22e9c20
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ public struct SecureStorage {

switch status {
case errSecSuccess:
guard let data = result as? Data else {
return nil
}
guard let data = result as? Data else { return nil }

return data
case errSecItemNotFound:
Expand Down Expand Up @@ -88,8 +86,7 @@ public struct SecureStorage {
Log.debug("SecureStorage delete - status \(status.message) \(status)")

switch status {
case errSecItemNotFound, errSecSuccess:
break // Okay to ignore
case errSecItemNotFound, errSecSuccess: break // Okay to ignore
case let status:
throw KeyStoreError("Unexpected deletion error: \(status.message)")
}
Expand Down

0 comments on commit 22e9c20

Please sign in to comment.