httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gsm...@apache.org
Subject svn commit: r1697543 - /httpd/httpd/trunk/modules/http2/h2_config.c
Date Tue, 25 Aug 2015 04:17:10 GMT
Author: gsmith
Date: Tue Aug 25 04:17:10 2015
New Revision: 1697543

URL: http://svn.apache.org/r1697543
Log:
Noise reduction
MSVC != GCC

Modified:
    httpd/httpd/trunk/modules/http2/h2_config.c

Modified: httpd/httpd/trunk/modules/http2/h2_config.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/http2/h2_config.c?rev=1697543&r1=1697542&r2=1697543&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/http2/h2_config.c (original)
+++ httpd/httpd/trunk/modules/http2/h2_config.c Tue Aug 25 04:17:10 2015
@@ -299,7 +299,9 @@ static const char *h2_conf_set_direct(cm
     return "value must be On or Off";
 }
 
+#ifndef _MSC_VER
 #pragma GCC diagnostic ignored "-Wmissing-braces"
+#endif
 const command_rec h2_cmds[] = {
     AP_INIT_TAKE1("H2MaxSessionStreams", h2_conf_set_max_streams, NULL,
                   RSRC_CONF, "maximum number of open streams per session"),



Mime
View raw message