From 174b3abcc39018e943e2f66a31047224a9331d0a Mon Sep 17 00:00:00 2001 From: Ruediger Pluem Date: Wed, 13 Oct 2021 07:29:28 +0000 Subject: [PATCH] * Fix compiler warning about unused variable git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1894181 13f79535-47bb-0310-9956-ffa450edef68 --- modules/http2/h2_switch.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/http2/h2_switch.c b/modules/http2/h2_switch.c index f0c7e4dd927..12dd3e8abf9 100644 --- a/modules/http2/h2_switch.c +++ b/modules/http2/h2_switch.c @@ -146,11 +146,9 @@ static int h2_protocol_switch(conn_rec *c, request_rec *r, server_rec *s, } if (found) { - h2_conn_ctx_t *ctx; - ap_log_cerror(APLOG_MARK, APLOG_TRACE1, 0, c, "switching protocol to '%s'", protocol); - ctx = h2_conn_ctx_create_for_c1(c, s, protocol); + h2_conn_ctx_create_for_c1(c, s, protocol); if (r != NULL) { apr_status_t status; -- 2.47.3