From 72454de4ef9732ba6a535a22635ff251ec275824 Mon Sep 17 00:00:00 2001 From: ejurgensen Date: Wed, 10 Apr 2024 22:41:08 +0200 Subject: [PATCH] [jsonapi] Fix boolean value assigned to pointer (from cppcheck) --- src/httpd_jsonapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/httpd_jsonapi.c b/src/httpd_jsonapi.c index 4626c528..ee4b7551 100644 --- a/src/httpd_jsonapi.c +++ b/src/httpd_jsonapi.c @@ -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: