MT#55283 silence Coverity false positive

This is a local variable that doesn't need locking.

Change-Id: I2e6b608993e1cb56ba2accf2878e7864b3656be8
Warned-by: Coverity
pull/1623/head
Richard Fuchs 3 years ago
parent 486160e0a7
commit 901acb1d00

@ -576,7 +576,7 @@ GQueue *statistics_gather_metrics(struct interface_sampled_rate_stats *interface
HEADERl("%s", tmp->str);
g_string_free(tmp, TRUE);
struct control_ng_stats total = {0,};
struct control_ng_stats total = {0,}; // coverity[missing_lock : FALSE]
mutex_lock(&rtpe_cngs_lock);
GList *list = g_hash_table_get_values(rtpe_cngs_hash);

Loading…
Cancel
Save