Skip to content

Commit

Permalink
Fix incorrect/unused macro
Browse files Browse the repository at this point in the history
zend_ts_hash_init accepts 4 arguments, not 5.
The pHashFunction parameter was removed in 5d25762

Closes GH-6087
  • Loading branch information
TysonAndre committed Sep 6, 2020
1 parent 1fc961e commit ace876c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Zend/zend_ts_hash.h
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,6 @@ END_EXTERN_C()
ZEND_TS_INIT_SYMTABLE_EX(ht, 2, 0)

#define ZEND_TS_INIT_SYMTABLE_EX(ht, n, persistent) \
zend_ts_hash_init(ht, n, NULL, ZVAL_PTR_DTOR, persistent)
zend_ts_hash_init(ht, n, ZVAL_PTR_DTOR, persistent)

#endif /* ZEND_HASH_H */

0 comments on commit ace876c

Please sign in to comment.