com php-src: clean up build: phpdbg_print.c

From: Date: Wed, 13 Nov 2013 08:11:23 +0000
Subject: com php-src: clean up build: phpdbg_print.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-75025@lists.php.net to get a copy of this message
Commit: 8b7ab830146e5b0eb40f3c310e1abe374db453c6 Author: krakjoe <joe.watkins@live.co.uk> Wed, 13 Nov 2013 08:11:23 +0000 Parents: 5e266f34fc4b45be6ee04749d62bb379bef2c692 Branches: PHP-5.6 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=8b7ab830146e5b0eb40f3c310e1abe374db453c6 Log: clean up build Changed paths: M phpdbg_print.c Diff: diff --git a/phpdbg_print.c b/phpdbg_print.c index 600d8f2..f337de0 100644 --- a/phpdbg_print.c +++ b/phpdbg_print.c @@ -36,7 +36,7 @@ PHPDBG_PRINT(opline) /* {{{ */ return SUCCESS; } /* }}} */ -static inline phpdbg_print_function_helper(zend_function *method TSRMLS_DC) { +static inline void phpdbg_print_function_helper(zend_function *method TSRMLS_DC) { switch (method->type) { case ZEND_USER_FUNCTION: { zend_op_array* op_array = &method->op_array; @@ -63,7 +63,7 @@ static inline phpdbg_print_function_helper(zend_function *method TSRMLS_DC) { do { - char *decode = phpdbg_decode_opcode(opline->opcode); + const char *decode = phpdbg_decode_opcode(opline->opcode); if (decode != NULL) { phpdbg_writeln( "\t\t#%lu\t%p %s", opline->lineno, opline, decode);

« previous php.cvs (#75025) next »