Skip to content

Commit

Permalink
Remove no-op MSHUTDOWN function in xmlwriter
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsdos committed Dec 29, 2024
1 parent 9eb2284 commit b00c72c
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions ext/xmlwriter/php_xmlwriter.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ static zend_object *xmlwriter_object_new(zend_class_entry *class_type)

/* {{{ function prototypes */
static PHP_MINIT_FUNCTION(xmlwriter);
static PHP_MSHUTDOWN_FUNCTION(xmlwriter);
static PHP_MINFO_FUNCTION(xmlwriter);
/* }}} */

Expand Down Expand Up @@ -201,7 +200,7 @@ zend_module_entry xmlwriter_module_entry = {
"xmlwriter",
ext_functions,
PHP_MINIT(xmlwriter),
PHP_MSHUTDOWN(xmlwriter),
NULL,
NULL,
NULL,
PHP_MINFO(xmlwriter),
Expand Down Expand Up @@ -1075,13 +1074,6 @@ static PHP_MINIT_FUNCTION(xmlwriter)
}
/* }}} */

/* {{{ PHP_MSHUTDOWN_FUNCTION */
static PHP_MSHUTDOWN_FUNCTION(xmlwriter)
{
return SUCCESS;
}
/* }}} */

/* {{{ PHP_MINFO_FUNCTION */
static PHP_MINFO_FUNCTION(xmlwriter)
{
Expand Down

0 comments on commit b00c72c

Please sign in to comment.