Skip to content

Commit cff6e2b

Browse files
committed
initialize variable
1 parent c1ddf2c commit cff6e2b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ext/json/JSON_parser.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ JSON_parser(zval *z, unsigned short p[], int length, int assoc TSRMLS_DC)
388388
smart_str key = {0};
389389

390390
int type = -1;
391-
unsigned short utf16;
391+
unsigned short utf16 = 0;
392392

393393
JSON(the_top) = -1;
394394
push(&the_json, z, MODE_DONE);

0 commit comments

Comments
 (0)