Skip to content

Commit 7407e76

Browse files
committed
Remove duplicated code
The exact same code already exists above this.
1 parent 985e5ff commit 7407e76

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

ext/opcache/jit/zend_jit_helpers.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1304,13 +1304,6 @@ static zend_never_inline void zend_assign_to_string_offset(zval *str, zval *dim,
13041304
return;
13051305
}
13061306

1307-
if (UNEXPECTED(!tmp)) {
1308-
if (result) {
1309-
ZVAL_UNDEF(result);
1310-
}
1311-
return;
1312-
}
1313-
13141307
string_len = ZSTR_LEN(tmp);
13151308
c = (uint8_t)ZSTR_VAL(tmp)[0];
13161309
zend_string_release(tmp);

0 commit comments

Comments
 (0)