Skip to content

Commit

Permalink
tracer: make sure vars are initialized
Browse files Browse the repository at this point in the history
Fixes Coverity CID #200098
  • Loading branch information
razvancrainea committed Jul 20, 2020
1 parent de31a7a commit 6948c09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/tracer/tracer.c
Expand Up @@ -2703,7 +2703,7 @@ static mi_response_t *sip_trace_mi_dyn(const mi_params_t *params,
struct trace_filter *filters = NULL;
tlist_dyn_elem_p elem = NULL;
hid_list_t* hep_id = NULL;
int traced_scope, traced_type;
int traced_scope = 0, traced_type = 0;

if (get_mi_string_param(params, "id", &name.s, &name.len) < 0)
return init_mi_param_error();
Expand Down

0 comments on commit 6948c09

Please sign in to comment.