From: Nikita Popov Date: Wed, 24 Jul 2019 18:51:19 +0000 (+0200) Subject: Mark _get_zval_ptr_deref as unused X-Git-Tag: php-7.4.0beta2~47 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=99d4b2bddc4cd42456e03d91d0454726767e35bd;p=php Mark _get_zval_ptr_deref as unused --- diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c index 8f21590524..a701442196 100644 --- a/Zend/zend_execute.c +++ b/Zend/zend_execute.c @@ -435,7 +435,7 @@ static zend_always_inline zval *_get_op_data_zval_ptr_r(int op_type, znode_op no } } -static zend_always_inline zval *_get_zval_ptr_deref(int op_type, znode_op node, zend_free_op *should_free, int type EXECUTE_DATA_DC OPLINE_DC) +static zend_always_inline ZEND_ATTRIBUTE_UNUSED zval *_get_zval_ptr_deref(int op_type, znode_op node, zend_free_op *should_free, int type EXECUTE_DATA_DC OPLINE_DC) { if (op_type & (IS_TMP_VAR|IS_VAR)) { if (op_type == IS_TMP_VAR) {