summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2003-11-05 23:44:09 +0000
committerIlia Alshanetsky <iliaa@php.net>2003-11-05 23:44:09 +0000
commitf884a5b437b88b076a5b255a404a0475c7593c49 (patch)
tree6c4408f44b4e221770224c71c499c42dceb61754
parent744212ab4592aba3144fc90051b13bc2607964de (diff)
downloadphp-git-f884a5b437b88b076a5b255a404a0475c7593c49.tar.gz
Kill unused variables.
-rwxr-xr-xext/pcntl/pcntl.c2
-rw-r--r--ext/simplexml/simplexml.c1
2 files changed, 1 insertions, 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);