Skip to content

Commit d32288b

Browse files
committed
Fixed copy-paste mistake
1 parent f00d1c7 commit d32288b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Zend/zend_compile.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3757,13 +3757,11 @@ int zend_compile_func_get_class(znode *result, zend_ast_list *args) /* {{{ */
37573757

37583758
int zend_compile_func_get_called_class(znode *result, zend_ast_list *args) /* {{{ */
37593759
{
3760-
znode arg_node;
3761-
37623760
if (args->children != 0) {
37633761
return FAILURE;
37643762
}
37653763

3766-
zend_emit_op_tmp(result, ZEND_GET_CALLED_CLASS, &arg_node, NULL);
3764+
zend_emit_op_tmp(result, ZEND_GET_CALLED_CLASS, NULL, NULL);
37673765
return SUCCESS;
37683766
}
37693767
/* }}} */

0 commit comments

Comments
 (0)