From 3f8892082d38a19792da24c2b41b3ce30f7b101a Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Thu, 22 Jul 2021 13:37:17 -0400 Subject: [PATCH] TT#121752 fix compiler warning Change-Id: Icf076b6715c243fd73fdb753a280b19e54fcf9d8 --- daemon/call_interfaces.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/daemon/call_interfaces.c b/daemon/call_interfaces.c index ef51779fc..0846f5d92 100644 --- a/daemon/call_interfaces.c +++ b/daemon/call_interfaces.c @@ -1815,6 +1815,7 @@ void ng_call_stats(struct call *call, const str *fromtag, const str *totag, benc GList *l; struct call_monologue *ml; struct call_stats t_b; + bencode_item_t *ssrc = NULL; if (!totals) totals = &t_b; @@ -1828,7 +1829,7 @@ void ng_call_stats(struct call *call, const str *fromtag, const str *totag, benc bencode_dictionary_add_integer(output, "created", call->created.tv_sec); bencode_dictionary_add_integer(output, "created_us", call->created.tv_usec); bencode_dictionary_add_integer(output, "last signal", call->last_signal); - bencode_item_t *ssrc = bencode_dictionary_add_dictionary(output, "SSRC"); + ssrc = bencode_dictionary_add_dictionary(output, "SSRC"); tags = bencode_dictionary_add_dictionary(output, "tags");