mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
- Fix warning
This commit is contained in:
parent
d072f6de54
commit
eb330a95f6
1 changed files with 1 additions and 1 deletions
|
@ -1194,7 +1194,7 @@ zend_object_value pdo_dbh_new(zend_class_entry *ce TSRMLS_DC)
|
||||||
ALLOC_HASHTABLE(dbh->properties);
|
ALLOC_HASHTABLE(dbh->properties);
|
||||||
zend_hash_init(dbh->properties, 0, NULL, ZVAL_PTR_DTOR, 0);
|
zend_hash_init(dbh->properties, 0, NULL, ZVAL_PTR_DTOR, 0);
|
||||||
|
|
||||||
retval.handle = zend_objects_store_put(dbh, zend_objects_destroy_object, pdo_dbh_free_storage, NULL TSRMLS_CC);
|
retval.handle = zend_objects_store_put(dbh, (zend_objects_store_dtor_t)zend_objects_destroy_object, pdo_dbh_free_storage, NULL TSRMLS_CC);
|
||||||
retval.handlers = &pdo_dbh_object_handlers;
|
retval.handlers = &pdo_dbh_object_handlers;
|
||||||
|
|
||||||
return retval;
|
return retval;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue