]> granicus.if.org Git - php/commitdiff
no need for default value
authorFerenc Kovacs <tyrael@php.net>
Mon, 30 Mar 2015 16:34:02 +0000 (18:34 +0200)
committerFerenc Kovacs <tyrael@php.net>
Mon, 30 Mar 2015 16:34:02 +0000 (18:34 +0200)
ext/standard/url.c

index cfc75bfe3dfb201875acac11075cddc7691c1d9e..4b76d65a48f2e3f2f605a2cf5c17d1c951028db7 100644 (file)
@@ -719,7 +719,7 @@ PHP_FUNCTION(get_headers)
        HashTable *hashT;
        zend_long format = 0;
        zval *zcontext = NULL;
-       php_stream_context *context = NULL;
+       php_stream_context *context;
 
        if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|lr!", &url, &url_len, &format, &zcontext) == FAILURE) {
                return;