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:
parent
eb16d9c6fb
commit
6120366da3
|
@ -125,7 +125,7 @@ static bool __album_query_artist(struct album *album, struct artist *al_artist,
|
||||||
gchar *lower)
|
gchar *lower)
|
||||||
{
|
{
|
||||||
gchar *release, *artist, *year;
|
gchar *release, *artist, *year;
|
||||||
bool found;
|
bool found = false;
|
||||||
|
|
||||||
if (!al_artist || strcmp(al_artist->ar_tokens[0], "various") == 0)
|
if (!al_artist || strcmp(al_artist->ar_tokens[0], "various") == 0)
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue