iliaa Wed Nov 5 18:44:10 2003 EDT
Modified files:
/php-src/ext/pcntl pcntl.c
/php-src/ext/simplexml simplexml.c
Log:
Kill unused variables.
Index: php-src/ext/pcntl/pcntl.c
diff -u php-src/ext/pcntl/pcntl.c:1.40 php-src/ext/pcntl/pcntl.c:1.41
--- php-src/ext/pcntl/pcntl.c:1.40 Tue Oct 28 12:08:18 2003
+++ php-src/ext/pcntl/pcntl.c Wed Nov 5 18:44:09 2003
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: pcntl.c,v 1.40 2003/10/28 17:08:18 gschlossnagle Exp $ */
+/* $Id: pcntl.c,v 1.41 2003/11/05 23:44:09 iliaa Exp $ */
#define PCNTL_DEBUG 0
@@ -254,7 +254,7 @@
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;
Index: php-src/ext/simplexml/simplexml.c
diff -u php-src/ext/simplexml/simplexml.c:1.81 php-src/ext/simplexml/simplexml.c:1.82
--- php-src/ext/simplexml/simplexml.c:1.81 Mon Nov 3 08:55:19 2003
+++ php-src/ext/simplexml/simplexml.c Wed Nov 5 18:44:09 2003
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: simplexml.c,v 1.81 2003/11/03 13:55:19 sterling Exp $ */
+/* $Id: simplexml.c,v 1.82 2003/11/05 23:44:09 iliaa Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -360,7 +360,6 @@
php_sxe_object *sxe;
char *name;
xmlNodePtr node;
- xmlAttrPtr attr;
sxe = php_sxe_fetch_object(object TSRMLS_CC);
name = Z_STRVAL_P(member);
@@ -1391,7 +1390,7 @@
{
php_info_print_table_start();
php_info_print_table_header(2, "Simplexml support", "enabled");
- php_info_print_table_row(2, "Revision", "$Revision: 1.81 $");
+ php_info_print_table_row(2, "Revision", "$Revision: 1.82 $");
php_info_print_table_row(2, "Schema support",
#ifdef LIBXML_SCHEMAS_ENABLED
"enabled");
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php