mirror of
https://github.com/php/php-src.git
synced 2024-09-22 18:37:25 +00:00
C89 compat
This commit is contained in:
parent
c8617d82cc
commit
4aa80db758
@ -464,9 +464,9 @@ PHPDBG_WATCH(array) /* {{{ */
|
|||||||
|
|
||||||
void phpdbg_watch_HashTable_dtor(zval **zv) {
|
void phpdbg_watch_HashTable_dtor(zval **zv) {
|
||||||
phpdbg_btree_result *result;
|
phpdbg_btree_result *result;
|
||||||
zval_ptr_dtor_wrapper(zv);
|
|
||||||
TSRMLS_FETCH();
|
TSRMLS_FETCH();
|
||||||
|
|
||||||
|
zval_ptr_dtor_wrapper(zv);
|
||||||
|
|
||||||
if ((result = phpdbg_btree_find(&PHPDBG_G(watchpoint_tree), (zend_ulong)*zv))) {
|
if ((result = phpdbg_btree_find(&PHPDBG_G(watchpoint_tree), (zend_ulong)*zv))) {
|
||||||
phpdbg_watchpoint_t *watch = result->ptr;
|
phpdbg_watchpoint_t *watch = result->ptr;
|
||||||
@ -772,9 +772,11 @@ void phpdbg_list_watchpoints(TSRMLS_D) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void phpdbg_watch_efree(void *ptr) {
|
void phpdbg_watch_efree(void *ptr) {
|
||||||
phpdbg_btree_result *result = phpdbg_btree_find_closest(&PHPDBG_G(watchpoint_tree), (zend_ulong)ptr);
|
phpdbg_btree_result *result;
|
||||||
TSRMLS_FETCH();
|
TSRMLS_FETCH();
|
||||||
|
|
||||||
|
result = phpdbg_btree_find_closest(&PHPDBG_G(watchpoint_tree), (zend_ulong)ptr);
|
||||||
|
|
||||||
if (result) {
|
if (result) {
|
||||||
phpdbg_watchpoint_t *watch = result->ptr;
|
phpdbg_watchpoint_t *watch = result->ptr;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user