core/tags/album: __album_query_artist() needs to initialize "found"

Otherwise we could end up checking this variable uninitialized.

Signed-off-by: Anna Schumaker <Anna@NoWheyCreamery.com>
This commit is contained in:
Anna Schumaker 2016-09-29 12:42:35 -04:00
parent eb16d9c6fb
commit 6120366da3
1 changed files with 1 additions and 1 deletions

View File

@ -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;