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