commit deb6dfa2f7b8d350494069256557b6e68c61847c
parent 346edfd89768039ff0f725f0069be5025f297e82
Author: Evgeny Grin (Karlson2k) <k2k@drgrin.dev>
Date: Mon, 8 Dec 2025 16:30:38 +0100
Fixed warning with HTTP/2 disabled
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mhd2/stream_process_states.c b/src/mhd2/stream_process_states.c
@@ -249,7 +249,7 @@ process_http_comm_layer (struct MHD_Connection *restrict c)
return mhd_COMM_LAYER_BROKEN;
#else /* ! MHD_SUPPORT_HTTP2 */
-
+ (void) c; /* Unused in HTTP/1.x-only modes */
return mhd_COMM_LAYER_OK;
#endif /* ! MHD_SUPPORT_HTTP2 */
}