summaryrefslogtreecommitdiff
path: root/sapi/apache_hooks/php_apache.c
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2002-11-18 06:14:10 +0000
committerRasmus Lerdorf <rasmus@php.net>2002-11-18 06:14:10 +0000
commita94a2266917a69d50aba2ee402ae1ca8a659bd7c (patch)
tree4792673c5fb7cc88707e60e24dfef6a0a7d8ee99 /sapi/apache_hooks/php_apache.c
parent2c34ea1be410bd19ff2ed760dbd2a2be22957132 (diff)
downloadphp-git-a94a2266917a69d50aba2ee402ae1ca8a659bd7c.tar.gz
Fix a few warnings - compiles nicely now
Diffstat (limited to 'sapi/apache_hooks/php_apache.c')
-rw-r--r--sapi/apache_hooks/php_apache.c8
1 files changed, 4 insertions, 4 deletions
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;