From 9da75efc8a38c781e37f2384e588f2b57a1e3eb8 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Sun, 19 Jan 2025 08:04:28 -0400 Subject: [PATCH] MT#61822 fix possible uninitialised value Change-Id: I8054de9d9cb0e1abe267f5878c2519c2addce9e8 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 e86ddb5b9..71be739fa 100644 --- a/daemon/media_player.c +++ b/daemon/media_player.c @@ -2729,7 +2729,7 @@ static void media_player_expire_files(void) { str_list *next; for (__auto_type l = media_player_media_files_names.head; l; l = next) { next = l->next; - g_auto(str) name; + g_auto(str) name = STR_NULL; { LOCK(&media_player_media_files_lock); __auto_type fo = t_hash_table_lookup(media_player_media_files, l->data);