]> granicus.if.org Git - apache/commitdiff
Noise reduction
authorGregg Lewis Smith <gsmith@apache.org>
Tue, 25 Aug 2015 04:17:10 +0000 (04:17 +0000)
committerGregg Lewis Smith <gsmith@apache.org>
Tue, 25 Aug 2015 04:17:10 +0000 (04:17 +0000)
MSVC != GCC

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1697543 13f79535-47bb-0310-9956-ffa450edef68

modules/http2/h2_config.c

index 04b0d94a5abc2c1a9d2f8ceff7e87006fa94e6ae..368919df6a5d12616e630e578da2a84fc49dc3b2 100644 (file)
@@ -299,7 +299,9 @@ static const char *h2_conf_set_direct(cmd_parms *parms,
     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"),