Fixed dialyzer warnings

This commit is contained in:
Maas-Maarten Zeeman
2022-05-28 22:42:03 +02:00
parent 887e91b1de
commit 1d9e9ee696
3 changed files with 25 additions and 11 deletions

View File

@@ -1009,7 +1009,7 @@ esqlite_interrupt(ErlNifEnv *env, int argc, const ERL_NIF_TERM argv[])
esqlite3 *db = (esqlite3 *) conn;
if(db->db == NULL) {
return make_error_tuple(env, "closed");
return make_atom(env, "ok");
}
sqlite3_interrupt(db->db);