Skip to content

Commit a0f450a

Browse files
committed
Remove unused _get_zval_ptr_cv_BP_VAR_UNSET function
To fix the macos -Werror build.
1 parent e08cc4d commit a0f450a

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

Zend/zend_execute.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -364,16 +364,6 @@ static zend_always_inline zval *_get_zval_ptr_cv_deref_BP_VAR_R(uint32_t var EXE
364364
return ret;
365365
}
366366

367-
static zend_always_inline zval *_get_zval_ptr_cv_BP_VAR_UNSET(uint32_t var EXECUTE_DATA_DC)
368-
{
369-
zval *ret = EX_VAR(var);
370-
371-
if (UNEXPECTED(Z_TYPE_P(ret) == IS_UNDEF)) {
372-
return zval_undefined_cv(var EXECUTE_DATA_CC);
373-
}
374-
return ret;
375-
}
376-
377367
static zend_always_inline zval *_get_zval_ptr_cv_BP_VAR_IS(uint32_t var EXECUTE_DATA_DC)
378368
{
379369
zval *ret = EX_VAR(var);

0 commit comments

Comments
 (0)