From: Ilia Alshanetsky Date: Wed, 5 Nov 2003 23:44:09 +0000 (+0000) Subject: Kill unused variables. X-Git-Tag: php-5.0.0b3RC1~762 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f884a5b437b88b076a5b255a404a0475c7593c49;p=php Kill unused variables. --- diff --git a/ext/pcntl/pcntl.c b/ext/pcntl/pcntl.c index bf581caf7c..0f55912217 100755 --- a/ext/pcntl/pcntl.c +++ b/ext/pcntl/pcntl.c @@ -254,7 +254,7 @@ PHP_FUNCTION(pcntl_waitpid) Waits on or returns the status of a forked child as defined by the waitpid() system call */ PHP_FUNCTION(pcntl_wait) { - long pid, options = 0; + long options = 0; zval *z_status = NULL; int status; pid_t child_id; diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c index f686d274d0..1c823b3dea 100644 --- a/ext/simplexml/simplexml.c +++ b/ext/simplexml/simplexml.c @@ -360,7 +360,6 @@ sxe_property_exists(zval *object, zval *member, int check_empty TSRMLS_DC) php_sxe_object *sxe; char *name; xmlNodePtr node; - xmlAttrPtr attr; sxe = php_sxe_fetch_object(object TSRMLS_CC); name = Z_STRVAL_P(member);