From c480adc8fdffc50445ace704303e2847aa85b9bf Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Tue, 20 Aug 2024 10:40:26 -0400 Subject: [PATCH] MT#55283 make gcc happy This isn't really necessary but gcc isn't smart enough to see it Change-Id: I6fe7b30760c72d77b06f1926ed2493369db2f771 --- 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 217d496a2..917a8be14 100644 --- a/daemon/call_interfaces.c +++ b/daemon/call_interfaces.c @@ -2689,6 +2689,7 @@ void ng_call_stats(ng_command_ctx_t *ctx, call_t *call, const str *fromtag, cons struct call_monologue *ml; struct call_stats t_b; parser_arg ssrc = {0}; + const ng_parser_t *parser = NULL; if (!totals) totals = &t_b; @@ -2699,7 +2700,7 @@ void ng_call_stats(ng_command_ctx_t *ctx, call_t *call, const str *fromtag, cons call_ngb_hold_ref(call, ctx->ngbuf); - const ng_parser_t *parser = ctx->parser_ctx.parser; + parser = ctx->parser_ctx.parser; parser->dict_add_int(ctx->resp, "created", call->created.tv_sec); parser->dict_add_int(ctx->resp, "created_us", call->created.tv_usec);