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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user