mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-26 23:25:56 -05:00
[jsonapi] Fix boolean value assigned to pointer (from cppcheck)
This commit is contained in:
parent
677aceccb6
commit
72454de4ef
@ -525,7 +525,7 @@ fetch_artist(bool *notfound, const char *artist_id)
|
|||||||
if ((ret = db_query_fetch_group(&dbgri, &query_params)) == 0)
|
if ((ret = db_query_fetch_group(&dbgri, &query_params)) == 0)
|
||||||
{
|
{
|
||||||
artist = artist_to_json(&dbgri);
|
artist = artist_to_json(&dbgri);
|
||||||
notfound = false;
|
*notfound = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
error:
|
error:
|
||||||
|
Loading…
Reference in New Issue
Block a user