mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Remove assignment irrelevant for release build
This commit is contained in:
parent
d7a3edd45d
commit
a04cd4b948
1 changed files with 1 additions and 2 deletions
|
@ -168,10 +168,9 @@ static void _breakiterator_parts_move_forward(zend_object_iterator *iter)
|
||||||
* No need to do anything, the engine increments ->index */
|
* No need to do anything, the engine increments ->index */
|
||||||
|
|
||||||
const char *s = Z_STRVAL(bio->text);
|
const char *s = Z_STRVAL(bio->text);
|
||||||
size_t slen = Z_STRLEN(bio->text);
|
|
||||||
zend_string *res;
|
zend_string *res;
|
||||||
|
|
||||||
assert(next <= slen && next >= cur);
|
assert(next <= Z_STRLEN(bio->text) && next >= cur);
|
||||||
res = zend_string_alloc(next - cur, 0);
|
res = zend_string_alloc(next - cur, 0);
|
||||||
|
|
||||||
memcpy(ZSTR_VAL(res), &s[cur], ZSTR_LEN(res));
|
memcpy(ZSTR_VAL(res), &s[cur], ZSTR_LEN(res));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue