From b3e6d47428e8a2bf77cec26a4f8468fa1fd83574 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Mon, 13 Feb 2023 09:11:11 -0500 Subject: [PATCH] MT#55283 silence Coverity false positive No locking is necessary in the shutdown code. Change-Id: Ib73a04cee4f780e5e25d4fc7c0c57927098273d0 Warned-by: Coverity --- daemon/media_player.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/media_player.c b/daemon/media_player.c index f86908df8..ba8445c91 100644 --- a/daemon/media_player.c +++ b/daemon/media_player.c @@ -118,7 +118,7 @@ static void media_player_shutdown(struct media_player *mp) { mp->cache_index.type = MP_OTHER; if (mp->cache_index.file.s) g_free(mp->cache_index.file.s); - mp->cache_index.file = STR_NULL; + mp->cache_index.file = STR_NULL;// coverity[missing_lock : FALSE] mp->cache_entry = NULL; // coverity[missing_lock : FALSE] mp->cache_read_idx = 0; }