com php-src: fix c89 compat: phpdbg.c
| From: | Bob Weinand | Date: | Wed, 25 Dec 2013 22:43:20 +0000 |
| Subject: | com php-src: fix c89 compat: phpdbg.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-82821@lists.php.net to get a copy of this message | ||
Commit: b36bae023e5e4ef190bc67d8d49f7038589233d6
Author: Anatol Belski <ab@php.net> Wed, 25 Dec 2013 23:43:20 +0100
Parents: 868dbe7baffc20f964f2bc005f90e0d262e97730
Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b36bae023e5e4ef190bc67d8d49f7038589233d6
Log:
fix c89 compat
Changed paths:
M phpdbg.c
Diff:
diff --git a/phpdbg.c b/phpdbg.c
index d025294..fd15f80 100644
--- a/phpdbg.c
+++ b/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);