Browse Source

MT#55283 silence warning

Fix-up for 37d7762f

Change-Id: I0560770c43b9f9469e08924b13e46d42ad28b321
pull/1694/head
Richard Fuchs 2 years ago
parent
commit
bf4c66ea27
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      daemon/sdp.c

+ 2
- 2
daemon/sdp.c View File

@ -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