mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
Remove duplicated code
The exact same code already exists above this.
This commit is contained in:
parent
985e5ffdb0
commit
7407e760f1
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user