passKit: fix warnings
This commit is contained in:
parent
bb9d2bec5d
commit
c66439c2f9
1 changed files with 0 additions and 4 deletions
|
|
@ -214,8 +214,6 @@ public class PasswordStore {
|
||||||
if self.privateKey == nil {
|
if self.privateKey == nil {
|
||||||
throw AppError.KeyImport
|
throw AppError.KeyImport
|
||||||
}
|
}
|
||||||
default:
|
|
||||||
throw AppError.Unknown
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -269,7 +267,6 @@ public class PasswordStore {
|
||||||
} catch {
|
} catch {
|
||||||
fatalError("FailedToFetchPasswordEntities".localize(error))
|
fatalError("FailedToFetchPasswordEntities".localize(error))
|
||||||
}
|
}
|
||||||
return true
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public func passwordEntityExisted(path: String) -> Bool {
|
public func passwordEntityExisted(path: String) -> Bool {
|
||||||
|
|
@ -285,7 +282,6 @@ public class PasswordStore {
|
||||||
} catch {
|
} catch {
|
||||||
fatalError("FailedToFetchPasswordEntities".localize(error))
|
fatalError("FailedToFetchPasswordEntities".localize(error))
|
||||||
}
|
}
|
||||||
return true
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public func getPasswordEntity(by path: String, isDir: Bool) -> PasswordEntity? {
|
public func getPasswordEntity(by path: String, isDir: Bool) -> PasswordEntity? {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue