cvs: php-src(PHP_5_2) /ext/json JSON_parser.c
| From: | Antony Dovgal | Date: | Tue, 25 Jul 2006 09:06:55 +0000 |
| Subject: | cvs: php-src(PHP_5_2) /ext/json JSON_parser.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-39504@lists.php.net to get a copy of this message | ||
tony2001 Tue Jul 25 09:06:55 2006 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/json JSON_parser.c
Log:
initialize variable
http://cvs.php.net/viewvc.cgi/php-src/ext/json/JSON_parser.c?r1=1.1.2.3&r2=1.1.2.4&diff_format=u
Index: php-src/ext/json/JSON_parser.c
diff -u php-src/ext/json/JSON_parser.c:1.1.2.3 php-src/ext/json/JSON_parser.c:1.1.2.4
--- php-src/ext/json/JSON_parser.c:1.1.2.3 Sat Jul 22 15:22:56 2006
+++ php-src/ext/json/JSON_parser.c Tue Jul 25 09:06:55 2006
@@ -388,7 +388,7 @@
smart_str key = {0};
int type = -1;
- unsigned short utf16;
+ unsigned short utf16 = 0;
JSON(the_top) = -1;
push(&the_json, z, MODE_DONE);