Browse Source

MT#55283 make gcc happy

This isn't really necessary but gcc isn't smart enough to see it

Change-Id: I6fe7b30760c72d77b06f1926ed2493369db2f771
pull/1853/head
Richard Fuchs 1 year ago
parent
commit
c480adc8fd
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      daemon/call_interfaces.c

+ 2
- 1
daemon/call_interfaces.c View File

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


Loading…
Cancel
Save