From 6120366da33608a7febf0102b4d267f8f1fa535f Mon Sep 17 00:00:00 2001 From: Anna Schumaker Date: Thu, 29 Sep 2016 12:42:35 -0400 Subject: [PATCH] core/tags/album: __album_query_artist() needs to initialize "found" Otherwise we could end up checking this variable uninitialized. Signed-off-by: Anna Schumaker --- core/tags/album.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/tags/album.c b/core/tags/album.c index 6d23d1c2..c848af1f 100644 --- a/core/tags/album.c +++ b/core/tags/album.c @@ -125,7 +125,7 @@ static bool __album_query_artist(struct album *album, struct artist *al_artist, gchar *lower) { gchar *release, *artist, *year; - bool found; + bool found = false; if (!al_artist || strcmp(al_artist->ar_tokens[0], "various") == 0) return false;