summaryrefslogtreecommitdiff
path: root/ext/zlib/zlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/zlib/zlib.c')
-rw-r--r--ext/zlib/zlib.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c
index a006eb8bc4..823603a2db 100644
--- a/ext/zlib/zlib.c
+++ b/ext/zlib/zlib.c
@@ -171,7 +171,6 @@ static void phpi_destructor_gzclose(zend_rsrc_list_entry *rsrc TSRMLS_DC)
*/
static void php_zlib_init_globals(zend_zlib_globals *zlib_globals_p TSRMLS_DC)
{
- ZLIBG(gzgetss_state) = 0;
}
/* }}} */
#endif
@@ -182,8 +181,6 @@ PHP_MINIT_FUNCTION(zlib)
{
#ifdef ZTS
ts_allocate_id(&zlib_globals_id, sizeof(zend_zlib_globals), (ts_allocate_ctor) php_zlib_init_globals, NULL);
-#else
- ZLIBG(gzgetss_state)=0;
#endif
le_zp = zend_register_list_destructors_ex(phpi_destructor_gzclose, NULL, "zlib", module_number);