com php-src: Fix format arguments: Zend/zend_compile.c
| From: | Nikita Popov | Date: | Sun, 25 Jun 2017 20:32:57 +0000 |
| Subject: | com php-src: Fix format arguments: Zend/zend_compile.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-98224@lists.php.net to get a copy of this message | ||
Commit: e5741da85c72f963e9bdb47707d990cc6cd49ffc
Author: Nikita Popov <nikita.ppv@gmail.com> Sun, 25 Jun 2017 22:32:57 +0200
Parents: 60d032d65ec7aacf0f59045826a89cb2b0084e61
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e5741da85c72f963e9bdb47707d990cc6cd49ffc
Log:
Fix format arguments
Only dropped one before, both need to go...
Changed paths:
M Zend/zend_compile.c
Diff:
diff --git a/Zend/zend_compile.c b/Zend/zend_compile..c
index 3835abb..f854631 100644
--- a/Zend/zend_compile.c
+++ b/Zend/zend_compile.c
@@ -5570,8 +5570,7 @@ void zend_compile_params(zend_ast *ast, zend_ast *return_type_ast) /* {{{ */
case IS_OBJECT:
zend_error_noreturn(E_COMPILE_ERROR, "Default value for parameters "
- "with an object type can only be NULL",
- zend_get_type_by_const(ZEND_TYPE_CODE(arg_info->type)));
+ "with an object type can only be NULL");
break;
default: