diff options
author | Marcus Boerger <helly@php.net> | 2002-10-29 16:57:52 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2002-10-29 16:57:52 +0000 |
commit | 84e5746efb14b6c137433f3bee9d4311f23b939b (patch) | |
tree | ebeef3a40de017232752afe4f5c3d9b144f045ef /ext/domxml/php_domxml.c | |
parent | 402adbbe9d7b82ab3fe831c5046dcd0b56f55229 (diff) | |
download | php-git-84e5746efb14b6c137433f3bee9d4311f23b939b.tar.gz |
fix warnings
Diffstat (limited to 'ext/domxml/php_domxml.c')
-rw-r--r-- | ext/domxml/php_domxml.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/domxml/php_domxml.c b/ext/domxml/php_domxml.c index f0fa6610c7..d0490af5a4 100644 --- a/ext/domxml/php_domxml.c +++ b/ext/domxml/php_domxml.c @@ -740,6 +740,7 @@ static void xsltstylesheet_set_data(void *obj, zval *wrapper) } +#ifdef HELLY_0 static zval *xsltstylesheet_get_data(void *obj) { /* @@ -753,6 +754,7 @@ static zval *xsltstylesheet_get_data(void *obj) */ 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(domxml_doc_ids) PHP_FUNCTION(xmldoc) { zval *rv = NULL; - xmlDoc *docp; + xmlDoc *docp = NULL; int ret; char *buffer; int buffer_len; @@ -3851,7 +3853,7 @@ PHP_FUNCTION(xmldoc) PHP_FUNCTION(xmldocfile) { zval *rv = NULL; - xmlDoc *docp; + xmlDoc *docp = NULL; int ret, file_len; char *file; int mode = 0, prevSubstValue; |