helly Tue Oct 29 11:57:52 2002 EDT Modified files: /php4/ext/domxml php_domxml.c Log: fix warnings Index: php4/ext/domxml/php_domxml.c diff -u php4/ext/domxml/php_domxml.c:1.215 php4/ext/domxml/php_domxml.c:1.216 --- php4/ext/domxml/php_domxml.c:1.215 Tue Oct 29 11:45:19 2002 +++ php4/ext/domxml/php_domxml.c Tue Oct 29 11:57:52 2002 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_domxml.c,v 1.215 2002/10/29 16:45:19 helly Exp $ */ +/* $Id: php_domxml.c,v 1.216 2002/10/29 16:57:52 helly Exp $ */ /* TODO * - Support Notation Nodes @@ -740,6 +740,7 @@ } +#ifdef HELLY_0 static zval *xsltstylesheet_get_data(void *obj) { /* @@ -753,6 +754,7 @@ */ return ((zval *) (((xsltStylesheetPtr) obj)->_private)); } +#endif void *php_xsltstylesheet_get_object(zval *wrapper, int rsrc_type1, int rsrc_type2 TSRMLS_DC) { @@ -3764,7 +3766,7 @@ PHP_FUNCTION(xmldoc) { zval *rv = NULL; - xmlDoc *docp; + xmlDoc *docp = NULL; int ret; char *buffer; int buffer_len; @@ -3851,7 +3853,7 @@ PHP_FUNCTION(xmldocfile) { zval *rv = NULL; - xmlDoc *docp; + xmlDoc *docp = NULL; int ret, file_len; char *file; int mode = 0, prevSubstValue;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php