diff options
author | George Peter Banyard <girgias@php.net> | 2020-08-26 12:57:24 +0200 |
---|---|---|
committer | George Peter Banyard <girgias@php.net> | 2020-08-26 12:59:43 +0200 |
commit | 1b2ec73c1d9175769c3ad4dd40825546851287bc (patch) | |
tree | 6990f3beaecc66a2f9f8196cb092691618ea8aa7 /ext/pgsql | |
parent | ebbe333ede58aef60740bd297327188513814f1b (diff) | |
download | php-git-1b2ec73c1d9175769c3ad4dd40825546851287bc.tar.gz |
Drop various unused macros/APIs
Also convert_libmagic_pattern() to return a zend_string*
Closes GH-6029
Diffstat (limited to 'ext/pgsql')
-rw-r--r-- | ext/pgsql/pgsql.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index d2876573bc..95acae32c5 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -911,8 +911,8 @@ static PHP_GINIT_FUNCTION(pgsql) #endif memset(pgsql_globals, 0, sizeof(zend_pgsql_globals)); /* Initialize notice message hash at MINIT only */ - zend_hash_init_ex(&pgsql_globals->notices, 0, NULL, ZVAL_PTR_DTOR, 1, 0); - zend_hash_init_ex(&pgsql_globals->hashes, 0, NULL, ZVAL_PTR_DTOR, 1, 0); + zend_hash_init(&pgsql_globals->notices, 0, NULL, ZVAL_PTR_DTOR, 1); + zend_hash_init(&pgsql_globals->hashes, 0, NULL, ZVAL_PTR_DTOR, 1); } /* }}} */ |