Small refactor
This commit is contained in:
@@ -304,11 +304,11 @@ update_callback(void *arg, int sqlite_operation_type, char const *sqlite_databas
|
||||
esqlite_connection *db = (esqlite_connection *)arg;
|
||||
esqlite_command *cmd = NULL;
|
||||
ERL_NIF_TERM type, table, rowid;
|
||||
cmd = command_create();
|
||||
|
||||
if(db == NULL)
|
||||
return;
|
||||
|
||||
cmd = command_create();
|
||||
if(!cmd)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user