Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
mxq_daemon: Fix usage of uninitialized variable
Fixes: 51259a9 ("mx_mysql: Refactor bind functions to void")
  • Loading branch information
donald committed Dec 30, 2023
1 parent 48746e8 commit 9dda809
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mxq_daemon.c
Expand Up @@ -170,7 +170,6 @@ int mxq_daemon_shutdown(struct mx_mysql *mysql, struct mxq_daemon *daemon)

idx = 0;
mx_mysql_bind_var(&param, idx++, uint32, &(daemon->daemon_id));
assert(res == 0);

res = mx_mysql_do_statement_noresult_retry_on_fail(mysql, query, &param);
if (res < 0) {
Expand Down

0 comments on commit 9dda809

Please sign in to comment.