MT#55283 silence warning

Fix-up for 37d7762f

Change-Id: I0560770c43b9f9469e08924b13e46d42ad28b321
pull/1694/head
Richard Fuchs 3 years ago
parent 9630574662
commit bf4c66ea27

@ -2217,8 +2217,8 @@ void sdp_chopper_destroy_ret(struct sdp_chopper *chop, str *ret) {
*ret = STR_NULL;
if (chop->output) {
size_t len = chop->output->len;
char *str = g_string_free(chop->output, FALSE);
str_init_len(ret, str, len);
char *s = g_string_free(chop->output, FALSE);
str_init_len(ret, s, len);
chop->output = NULL;
}
sdp_chopper_destroy(chop);

Loading…
Cancel
Save