From bf4c66ea278eccf5fd302c8ef34a63d64e412e44 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Thu, 13 Jul 2023 13:24:52 -0400 Subject: [PATCH] MT#55283 silence warning Fix-up for 37d7762f Change-Id: I0560770c43b9f9469e08924b13e46d42ad28b321 --- daemon/sdp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon/sdp.c b/daemon/sdp.c index 1b51c0f13..9243ced64 100644 --- a/daemon/sdp.c +++ b/daemon/sdp.c @@ -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);