Ignore "-Wmissing-field-initializers" in upnpdescgen.c

This commit is contained in:
Thomas Bernard 2012-10-05 00:26:44 +02:00
parent 4ce891ec17
commit 1a458fe869
2 changed files with 5 additions and 1 deletions

View File

@ -6,6 +6,7 @@ $Id: Changelog.txt,v 1.318 2012/10/04 22:11:55 nanard Exp $
fix newSubscriber() for IP6FirewallControl and DeviceProtection services
Enforce compliance for SUBSCRIBE messages (UPNP_STRICT mode)
Enforce compliance for UNSUBSCRIBE messages (UPNP_STRICT mode)
Ignore "-Wmissing-field-initializers" in upnpdescgen.c
ENABLE_HTTP_DATE : add a Date: header to all HTTP responses
2012/09/27:

View File

@ -1,4 +1,4 @@
/* $Id: upnpdescgen.c,v 1.69 2012/09/27 12:01:58 nanard Exp $ */
/* $Id: upnpdescgen.c,v 1.71 2012/10/04 22:08:08 nanard Exp $ */
/* MiniUPnP project
* http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
* (c) 2006-2012 Thomas Bernard
@ -466,6 +466,9 @@ static const struct action WANIPCnActions[] =
};
/* R=Required, O=Optional */
/* ignore "warning: missing initializer" */
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
static const struct stateVar WANIPCnVars[] =
{
/* 0 */