Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
tree: Remove some dead stores
  • Loading branch information
donald committed Feb 21, 2022
1 parent 05aaace commit 80c1e09
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mx_mysql.c
Expand Up @@ -1052,7 +1052,7 @@ int mx_mysql_statement_fetch(struct mx_mysql_stmt *stmt)
r->bind[col].buffer = *(r->data[col].string_ptr);
r->bind[col].buffer_length = r->data[col].length;

res = mx__mysql_stmt_fetch_column(stmt, col, 0);
mx__mysql_stmt_fetch_column(stmt, col, 0);

r->data[col].length = 0;
r->bind[col].buffer = NULL;
Expand Down
2 changes: 1 addition & 1 deletion mx_util.c
Expand Up @@ -1184,7 +1184,7 @@ char *mx_strvec_join(char *sep,char **strvec)
p = stpcpy(p, strvec[i]);
p = stpcpy(p, sep);
}
p = stpcpy(p, strvec[i]);
stpcpy(p, strvec[i]);

return out;
}
Expand Down
2 changes: 1 addition & 1 deletion mxq_daemon.c
Expand Up @@ -145,7 +145,7 @@ int mxq_daemon_register(struct mx_mysql *mysql, struct mxq_daemon *daemon)

daemon->daemon_id = insert_id;

res = mx_mysql_statement_close(&stmt);
mx_mysql_statement_close(&stmt);

return (int)num_rows;
}
Expand Down

0 comments on commit 80c1e09

Please sign in to comment.