]> granicus.if.org Git - php/commitdiff
initialize variable
authorAntony Dovgal <tony2001@php.net>
Tue, 25 Jul 2006 09:06:55 +0000 (09:06 +0000)
committerAntony Dovgal <tony2001@php.net>
Tue, 25 Jul 2006 09:06:55 +0000 (09:06 +0000)
ext/json/JSON_parser.c

index 51f8b6c0410ad29393cbcd7049ddd2799a252158..dce42d37eeb7c5e1554a840082bc89c1951f122c 100644 (file)
@@ -388,7 +388,7 @@ JSON_parser(zval *z, unsigned short p[], int length, int assoc TSRMLS_DC)
     smart_str key = {0};
 
     int type = -1;
-    unsigned short utf16;
+    unsigned short utf16 = 0;
 
     JSON(the_top) = -1;
     push(&the_json, z, MODE_DONE);