httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ic...@apache.org
Subject svn commit: r1697389 - in /httpd/httpd/trunk/modules/http2: h2_conn.c h2_switch.c
Date Mon, 24 Aug 2015 13:24:24 GMT
Author: icing
Date: Mon Aug 24 13:24:24 2015
New Revision: 1697389

URL: http://svn.apache.org/r1697389
Log:
eliminationg two compiler warnings

Modified:
    httpd/httpd/trunk/modules/http2/h2_conn.c
    httpd/httpd/trunk/modules/http2/h2_switch.c

Modified: httpd/httpd/trunk/modules/http2/h2_conn.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/http2/h2_conn.c?rev=1697389&r1=1697388&r2=1697389&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/http2/h2_conn.c (original)
+++ httpd/httpd/trunk/modules/http2/h2_conn.c Mon Aug 24 13:24:24 2015
@@ -46,7 +46,7 @@ static module *mpm_module;
 static module *ssl_module;
 static int checked;
 
-static void check_modules() 
+static void check_modules(void) 
 {
     int i;
     if (!checked) {

Modified: httpd/httpd/trunk/modules/http2/h2_switch.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/http2/h2_switch.c?rev=1697389&r1=1697388&r2=1697389&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/http2/h2_switch.c (original)
+++ httpd/httpd/trunk/modules/http2/h2_switch.c Mon Aug 24 13:24:24 2015
@@ -62,7 +62,6 @@ static int h2_protocol_propose(conn_rec
                                const apr_array_header_t *offers,
                                apr_array_header_t *proposals)
 {
-    h2_config *cfg;
     int proposed = 0;
     const char **protos = h2_h2_is_tls(c)? h2_tls_protos : h2_clear_protos;
     
@@ -74,8 +73,6 @@ static int h2_protocol_propose(conn_rec
         return DECLINED;
     }
     
-    cfg = h2_config_sget(s);
-    
     if (r) {
         const char *p;
         /* So far, this indicates an HTTP/1 Upgrade header initiated



Mime
View raw message