Skip to content

Commit b00c72c

Browse files
committed
Remove no-op MSHUTDOWN function in xmlwriter
1 parent 9eb2284 commit b00c72c

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

ext/xmlwriter/php_xmlwriter.c

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ static zend_object *xmlwriter_object_new(zend_class_entry *class_type)
9797

9898
/* {{{ function prototypes */
9999
static PHP_MINIT_FUNCTION(xmlwriter);
100-
static PHP_MSHUTDOWN_FUNCTION(xmlwriter);
101100
static PHP_MINFO_FUNCTION(xmlwriter);
102101
/* }}} */
103102

@@ -201,7 +200,7 @@ zend_module_entry xmlwriter_module_entry = {
201200
"xmlwriter",
202201
ext_functions,
203202
PHP_MINIT(xmlwriter),
204-
PHP_MSHUTDOWN(xmlwriter),
203+
NULL,
205204
NULL,
206205
NULL,
207206
PHP_MINFO(xmlwriter),
@@ -1075,13 +1074,6 @@ static PHP_MINIT_FUNCTION(xmlwriter)
10751074
}
10761075
/* }}} */
10771076

1078-
/* {{{ PHP_MSHUTDOWN_FUNCTION */
1079-
static PHP_MSHUTDOWN_FUNCTION(xmlwriter)
1080-
{
1081-
return SUCCESS;
1082-
}
1083-
/* }}} */
1084-
10851077
/* {{{ PHP_MINFO_FUNCTION */
10861078
static PHP_MINFO_FUNCTION(xmlwriter)
10871079
{

0 commit comments

Comments
 (0)