Skip to content

Commit

Permalink
[jsonapi] Fix boolean value assigned to pointer (from cppcheck)
Browse files Browse the repository at this point in the history
  • Loading branch information
ejurgensen committed Apr 10, 2024
1 parent 677acec commit 72454de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/httpd_jsonapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ fetch_artist(bool *notfound, const char *artist_id)
if ((ret = db_query_fetch_group(&dbgri, &query_params)) == 0)
{
artist = artist_to_json(&dbgri);
notfound = false;
*notfound = false;
}

error:
Expand Down

0 comments on commit 72454de

Please sign in to comment.