Skip to content

Commit 002b5ae

Browse files
committed
Removed unused arg
1 parent 22c618e commit 002b5ae

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Zend/zend_execute.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2185,8 +2185,7 @@ static zend_property_info *zend_get_prop_not_accepting_double(zend_reference *re
21852185
return NULL;
21862186
}
21872187

2188-
static ZEND_COLD zend_long zend_throw_incdec_ref_error(
2189-
zend_reference *ref, zend_property_info *error_prop OPLINE_DC)
2188+
static ZEND_COLD zend_long zend_throw_incdec_ref_error(zend_property_info *error_prop OPLINE_DC)
21902189
{
21912190
zend_string *type_str = zend_type_to_string(error_prop->type);
21922191
if (ZEND_IS_INCREMENT(opline->opcode)) {
@@ -2247,7 +2246,7 @@ static void zend_incdec_typed_ref(zend_reference *ref, zval *copy OPLINE_DC EXEC
22472246
if (UNEXPECTED(Z_TYPE_P(var_ptr) == IS_DOUBLE) && Z_TYPE_P(copy) == IS_LONG) {
22482247
zend_property_info *error_prop = zend_get_prop_not_accepting_double(ref);
22492248
if (UNEXPECTED(error_prop)) {
2250-
zend_long val = zend_throw_incdec_ref_error(ref, error_prop OPLINE_CC);
2249+
zend_long val = zend_throw_incdec_ref_error(error_prop OPLINE_CC);
22512250
ZVAL_LONG(var_ptr, val);
22522251
}
22532252
} else if (UNEXPECTED(!zend_verify_ref_assignable_zval(ref, var_ptr, EX_USES_STRICT_TYPES()))) {

0 commit comments

Comments
 (0)