From 36f8375ec27018e07ba30905e1f5c1190893fc6e Mon Sep 17 00:00:00 2001 From: Yann Ylavic Date: Mon, 29 Feb 2016 21:45:24 +0000 Subject: [PATCH] Avoid compiler (gcc-5.3.1) warning on unused variable. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1732953 13f79535-47bb-0310-9956-ffa450edef68 --- modules/proxy/mod_proxy_hcheck.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/proxy/mod_proxy_hcheck.c b/modules/proxy/mod_proxy_hcheck.c index 81a2a3eaa5..db17daef57 100644 --- a/modules/proxy/mod_proxy_hcheck.c +++ b/modules/proxy/mod_proxy_hcheck.c @@ -582,13 +582,12 @@ static int hc_read_headers(sctx_t *ctx, request_rec *r) "%s", buffer); /* for the below, see ap_proxy_http_process_response() */ if (apr_date_checkmask(buffer, "HTTP/#.# ###*")) { - int major, minor; + int major; char keepchar; int proxy_status = OK; const char *proxy_status_line = NULL; major = buffer[5] - '0'; - minor = buffer[7] - '0'; if ((major != 1) || (len >= sizeof(buffer)-1)) { return !OK; } -- 2.50.1