From 901acb1d003f10de1b9cff3ee60ea0ebc55b1dde Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Mon, 13 Feb 2023 09:08:28 -0500 Subject: [PATCH] MT#55283 silence Coverity false positive This is a local variable that doesn't need locking. Change-Id: I2e6b608993e1cb56ba2accf2878e7864b3656be8 Warned-by: Coverity --- daemon/statistics.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/statistics.c b/daemon/statistics.c index fe06ff397..33a780718 100644 --- a/daemon/statistics.c +++ b/daemon/statistics.c @@ -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);