Skip to content

Commit

Permalink
Merge remote-tracking branch 'phpdbg/master' into PHP-5.6
Browse files Browse the repository at this point in the history
* phpdbg/master:
  C89 compat
  • Loading branch information
weltling committed Apr 27, 2014
2 parents a10dc3a + 4aa80db commit 3b6bf6e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions sapi/phpdbg/phpdbg_watch.c
Original file line number Diff line number Diff line change
Expand Up @@ -464,9 +464,9 @@ PHPDBG_WATCH(array) /* {{{ */

void phpdbg_watch_HashTable_dtor(zval **zv) {
phpdbg_btree_result *result;
zval_ptr_dtor_wrapper(zv);
TSRMLS_FETCH();

zval_ptr_dtor_wrapper(zv);

if ((result = phpdbg_btree_find(&PHPDBG_G(watchpoint_tree), (zend_ulong)*zv))) {
phpdbg_watchpoint_t *watch = result->ptr;
Expand Down Expand Up @@ -772,9 +772,11 @@ void phpdbg_list_watchpoints(TSRMLS_D) {
}

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();

result = phpdbg_btree_find_closest(&PHPDBG_G(watchpoint_tree), (zend_ulong)ptr);

if (result) {
phpdbg_watchpoint_t *watch = result->ptr;

Expand Down

0 comments on commit 3b6bf6e

Please sign in to comment.