Skip to content

Commit

Permalink
MT#55283 make gcc happy
Browse files Browse the repository at this point in the history
This isn't really necessary but gcc isn't smart enough to see it

Change-Id: I6fe7b30760c72d77b06f1926ed2493369db2f771
  • Loading branch information
rfuchs committed Aug 20, 2024
1 parent 227a64c commit c480adc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion daemon/call_interfaces.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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);
Expand Down

0 comments on commit c480adc

Please sign in to comment.