1
0
mirror of https://github.com/php/php-src.git synced 2026-04-25 08:58:28 +02:00

Remove duplicated code

The exact same code already exists above this.
This commit is contained in:
Niels Dossche
2024-07-01 23:13:33 +02:00
parent 985e5ffdb0
commit 7407e760f1
-7
View File
@@ -1304,13 +1304,6 @@ static zend_never_inline void zend_assign_to_string_offset(zval *str, zval *dim,
return;
}
if (UNEXPECTED(!tmp)) {
if (result) {
ZVAL_UNDEF(result);
}
return;
}
string_len = ZSTR_LEN(tmp);
c = (uint8_t)ZSTR_VAL(tmp)[0];
zend_string_release(tmp);