mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-27 04:14:21 +00:00
Fix Swiftlint errors
This commit is contained in:
1 parent
2de9b2d9ed
commit
4e551c8c6e
1 file changed
+2
-2
@@ -1241,7 +1241,7 @@ extension Database {
|
||||
throw DatabaseError(message: "invalid passphrase")
|
||||
}
|
||||
defer {
|
||||
if (data.count > 0) { data.resetBytes(in: 0..<data.count) }
|
||||
data.resetBytes(in: 0..<data.count)
|
||||
}
|
||||
try usePassphrase(data)
|
||||
}
|
||||
@@ -1270,7 +1270,7 @@ extension Database {
|
||||
throw DatabaseError(message: "invalid passphrase")
|
||||
}
|
||||
defer {
|
||||
if data.count > 0 { data.resetBytes(in: 0..<data.count) }
|
||||
data.resetBytes(in: 0..<data.count)
|
||||
}
|
||||
try changePassphrase(data)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user