Skip to content

Commit eca4d25

Browse files
committed
Initialize params_enc variable to resolve a warning
1 parent 7879790 commit eca4d25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/mysql2/statement.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ static VALUE rb_mysql_stmt_execute(int argc, VALUE *argv, VALUE self) {
253253
VALUE opts;
254254
VALUE current;
255255
VALUE resultObj;
256-
VALUE *params_enc;
256+
VALUE *params_enc = NULL;
257257
int is_streaming;
258258
rb_encoding *conn_enc;
259259

0 commit comments

Comments
 (0)