From f884a5b437b88b076a5b255a404a0475c7593c49 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Wed, 5 Nov 2003 23:44:09 +0000 Subject: [PATCH] Kill unused variables. --- ext/pcntl/pcntl.c | 2 +- ext/simplexml/simplexml.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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); -- 2.50.1