Skip to content

Commit 9a0170e

Browse files
committed
Removed warning in the Cipher extension
1 parent 9b2d3e2 commit 9a0170e

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)