From d32288b5bf78ad684b73479633a0bc0209a3de35 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Thu, 25 May 2017 20:20:57 +0300 Subject: [PATCH] Fixed copy-paste mistake --- Zend/zend_compile.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index 372fddc5f5..75ceb36a48 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -3757,13 +3757,11 @@ int zend_compile_func_get_class(znode *result, zend_ast_list *args) /* {{{ */ int zend_compile_func_get_called_class(znode *result, zend_ast_list *args) /* {{{ */ { - znode arg_node; - if (args->children != 0) { return FAILURE; } - zend_emit_op_tmp(result, ZEND_GET_CALLED_CLASS, &arg_node, NULL); + zend_emit_op_tmp(result, ZEND_GET_CALLED_CLASS, NULL, NULL); return SUCCESS; } /* }}} */ -- 2.50.1