From: Rasmus Lerdorf Date: Mon, 18 Nov 2002 06:14:10 +0000 (+0000) Subject: Fix a few warnings - compiles nicely now X-Git-Tag: RELEASE_1_0b2~165 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a94a2266917a69d50aba2ee402ae1ca8a659bd7c;p=php Fix a few warnings - compiles nicely now --- diff --git a/sapi/apache_hooks/php_apache.c b/sapi/apache_hooks/php_apache.c index b1a1f27071..c9d38c362e 100644 --- a/sapi/apache_hooks/php_apache.c +++ b/sapi/apache_hooks/php_apache.c @@ -153,7 +153,7 @@ PHPAPI zval *php_apache_request_new(request_rec *r) */ static void apache_request_read_string_slot(int offset, INTERNAL_FUNCTION_PARAMETERS) { - zval *id, **new_value; + zval *id; request_rec *r; char *s; @@ -1163,7 +1163,7 @@ PHP_FUNCTION(apache_request_log_error) */ PHP_FUNCTION(apache_request_sub_req_lookup_uri) { - zval *id, *ret; + zval *id; zval **file; request_rec *r, *sub_r; TSRMLS_FETCH(); @@ -1186,7 +1186,7 @@ PHP_FUNCTION(apache_request_sub_req_lookup_uri) */ PHP_FUNCTION(apache_request_sub_req_lookup_file) { - zval *id, *ret; + zval *id; zval **file; request_rec *r, *sub_r; TSRMLS_FETCH(); @@ -1251,7 +1251,7 @@ PHP_FUNCTION(apache_request_internal_redirect) { zval *id; zval **new_uri; - request_rec *r, *sub_r; + request_rec *r; TSRMLS_FETCH(); if(ARG_COUNT(ht) != 1 || zend_get_parameters_ex(1, &new_uri) == FAILURE) { WRONG_PARAM_COUNT;