From c846fed67ef202b6ee73c5b063aae2f26a9ead0c Mon Sep 17 00:00:00 2001 From: "F. Duncanh" Date: Thu, 12 Mar 2026 17:15:47 -0400 Subject: [PATCH] fix unitialised variable noticed in FreeBSD compilation. --- lib/http_handlers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/http_handlers.h b/lib/http_handlers.h index 383a071..7984be8 100644 --- a/lib/http_handlers.h +++ b/lib/http_handlers.h @@ -474,6 +474,7 @@ http_handler_action(raop_conn_t *conn, http_request_t *request, http_response_t uint64_t uint_val = 0; int request_id = 0; int fcup_response_statuscode = 0; + char *type = NULL; bool logger_debug = (logger_get_level(raop->logger) >= LOGGER_DEBUG); const char* session_id = http_request_get_header(request, "X-Apple-Session-ID"); @@ -519,7 +520,6 @@ http_handler_action(raop_conn_t *conn, http_request_t *request, http_response_t playlistAdd unhandledURLRespone */ - char *type = NULL; plist_get_string_val(req_type_node, &type); if (!type) { goto post_action_error;