From 281f68d85f8ebe3903bd21cfab7e93c7d16446cd Mon Sep 17 00:00:00 2001 From: Gregg Lewis Smith Date: Tue, 25 Aug 2015 04:17:10 +0000 Subject: [PATCH] Noise reduction 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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/http2/h2_config.c b/modules/http2/h2_config.c index 04b0d94a5a..368919df6a 100644 --- a/modules/http2/h2_config.c +++ b/modules/http2/h2_config.c @@ -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"), -- 2.50.1