len -= data->next_out;
if (len) {
memmove (start, start + data->next_out, len + 1);
- SvCUR_set (data->datasv, len);
} else {
*start = '\0'; /* Avoid call to memmove. */
- SvCUR_set (data->datasv, 0);
}
+ SvCUR_set(data->datasv, len);
data->next_out = 0;
/* Attempt to read more data. */
struct byteloader_state bstate;
struct byteloader_fdata data;
int len;
+ (void)buf_sv;
+ (void)maxlen;
data.next_out = 0;
data.datasv = FILTER_DATA(idx);