com php-src: Fixed copy-paste mistake: Zend/zend_compile.c

[email protected] (Dmitry Stogov)
Newsgroups php.cvs
Message-ID <[email protected]>
Commit:    d32288b5bf78ad684b73479633a0bc0209a3de35
Author:    Dmitry Stogov <[email protected]>         Thu, 25 May 2017 20:20:57 +0300
Parents:   f00d1c72b4dbaf3532569d20efc1da7c408605d6
Branches:  master

Link:       http://git.php.net/?p=php-src.git;a=commitdiff;h=d32288b5bf78ad684b73479633a0bc0209a3de35

Log:
Fixed copy-paste mistake

Changed paths:
  M  Zend/zend_compile.c


Diff:
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c
index 372fddc..75ceb36 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;
 }
 /* }}} */
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.