initialize with NULL
authorMichael Wallner <mike@php.net>
Mon, 23 Jan 2012 14:13:33 +0000 (14:13 +0000)
committerMichael Wallner <mike@php.net>
Mon, 23 Jan 2012 14:13:33 +0000 (14:13 +0000)
php_http_env.c

index eb7a6304aa53a971b4c5f9535457d49e571c7757..f7df9d04783d2454928483f6104e7b18dbb04132 100644 (file)
@@ -694,7 +694,7 @@ PHP_METHOD(HttpEnv, setResponseHeader)
 {
        char *header_name_str;
        int header_name_len;
-       zval *header_value;
+       zval *header_value = NULL;
        long code = 0;
        zend_bool replace_header = 1;