fix MSVC >6 warnings and errors
[m6w6/ext-http] / http_url_api.c
index c0fad60086942750e8358814687027b980b59fae..bdfd2cfc7e96d24b1f8b53afdf866bc813c50731 100644 (file)
@@ -445,7 +445,7 @@ PHP_HTTP_API STATUS _http_urlencode_hash_recursive(HashTable *ht, phpstr *str, c
                                return FAILURE;
                        }
                } else {
-                       zval val;
+                       zval val = zval_used_for_init;
                        ZVAL_ZVAL(&val, *data, 1, 0);
                        convert_to_string(&val);