diff options
| author | Anatol Belski <ab@php.net> | 2015-02-11 11:19:19 +0100 |
|---|---|---|
| committer | Anatol Belski <ab@php.net> | 2015-02-11 11:46:29 +0100 |
| commit | 12a42433b27bd2f3c28a496269610fe53c567310 (patch) | |
| tree | f244a3c27f8be091ace5e2208d24d507dbf91ecf /sapi/cgi/cgi_main.c | |
| parent | 67d94d1465fb7809096b8d68c5c2359aeb4f8a74 (diff) | |
| download | php-git-12a42433b27bd2f3c28a496269610fe53c567310.tar.gz | |
remove useless condition
Diffstat (limited to 'sapi/cgi/cgi_main.c')
| -rw-r--r-- | sapi/cgi/cgi_main.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c index a0bba17f06..6b93408568 100644 --- a/sapi/cgi/cgi_main.c +++ b/sapi/cgi/cgi_main.c @@ -1668,9 +1668,6 @@ PHP_FUNCTION(apache_response_headers) /* {{{ */ return; } - if (!&SG(sapi_headers).headers) { - RETURN_FALSE; - } array_init(return_value); zend_llist_apply_with_argument(&SG(sapi_headers).headers, (llist_apply_with_arg_func_t)add_response_header, return_value); } |
