summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2013-12-25 23:43:20 +0100
committerAnatol Belski <ab@php.net>2013-12-25 23:43:20 +0100
commit1e411ebdf5fa56fa8f8870d22a5bdd21c54caf69 (patch)
tree11d34f560a6f7cdb5851126fc2bfa6a241d1bbd8 /sapi/phpdbg/phpdbg.c
parent9f9179cc624073f8d47cfa283ef05dcad7ea7a0b (diff)
downloadphp-git-1e411ebdf5fa56fa8f8870d22a5bdd21c54caf69.tar.gz
fix c89 compat
Diffstat (limited to 'sapi/phpdbg/phpdbg.c')
-rw-r--r--sapi/phpdbg/phpdbg.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c
index d025294f1f..fd15f80984 100644
--- a/sapi/phpdbg/phpdbg.c
+++ b/sapi/phpdbg/phpdbg.c
@@ -137,9 +137,8 @@ static void php_phpdbg_destroy_bp_condition(void *data) /* {{{ */
static void php_phpdbg_destroy_registered(void *data) /* {{{ */
{
- TSRMLS_FETCH();
-
zend_function *function = (zend_function*) data;
+ TSRMLS_FETCH();
destroy_zend_function(
function TSRMLS_CC);