Skip to content

Commit 36e01b0

Browse files
authored
Merge pull request stephencelis#918 from ypopovych/master
Removed warning in the Cipher extension
2 parents 691fc89 + 9a0170e commit 36e01b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SQLite/Extensions/Cipher.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ extension Connection {
6060
// the key provided is incorrect. To test that the database can be successfully opened with the
6161
// provided key, it is necessary to perform some operation on the database (i.e. read from it).
6262
private func cipher_key_check() throws {
63-
try scalar("SELECT count(*) FROM sqlite_master;")
63+
let _ = try scalar("SELECT count(*) FROM sqlite_master;")
6464
}
6565
}
6666
#endif

0 commit comments

Comments
 (0)