summaryrefslogtreecommitdiffstats
path: root/lasso/xml/ws/wsa_endpoint_reference.c
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2009-01-24 09:33:40 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2009-01-24 09:33:40 +0000
commit33bbf7a7de2361ced173857827c88204326e6bb5 (patch)
tree5190e0ff3b0839a6fdf0922ad404535368fbbc03 /lasso/xml/ws/wsa_endpoint_reference.c
parent7fc388abb3cebc81d12aad7ab2f12bbd82eb40d5 (diff)
downloadlasso-33bbf7a7de2361ced173857827c88204326e6bb5.tar.gz
lasso-33bbf7a7de2361ced173857827c88204326e6bb5.tar.xz
lasso-33bbf7a7de2361ced173857827c88204326e6bb5.zip
All: Fix missing field initializer problems
* lots of files: Explicitely set all field of initialized structures, in order to remove -Wno-missing-field-initilizers from needed compiler options when using -Wall -Wextra.
Diffstat (limited to 'lasso/xml/ws/wsa_endpoint_reference.c')
-rw-r--r--lasso/xml/ws/wsa_endpoint_reference.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/lasso/xml/ws/wsa_endpoint_reference.c b/lasso/xml/ws/wsa_endpoint_reference.c
index 4d03a938..4a7dc57f 100644
--- a/lasso/xml/ws/wsa_endpoint_reference.c
+++ b/lasso/xml/ws/wsa_endpoint_reference.c
@@ -46,18 +46,18 @@
static struct XmlSnippet schema_snippets[] = {
{ "Address", SNIPPET_NODE,
G_STRUCT_OFFSET(LassoWsAddrEndpointReference, Address),
- "LassoWsAddrAttributedURI" },
+ "LassoWsAddrAttributedURI", NULL, NULL },
{ "ReferenceParameters", SNIPPET_NODE,
G_STRUCT_OFFSET(LassoWsAddrEndpointReference, ReferenceParameters),
- "LassoWsAddrReferenceParameters" },
+ "LassoWsAddrReferenceParameters", NULL, NULL },
{ "Metadata", SNIPPET_NODE,
G_STRUCT_OFFSET(LassoWsAddrEndpointReference, Metadata),
- "LassoWsAddrMetadata" },
+ "LassoWsAddrMetadata", NULL, NULL },
{ "", SNIPPET_LIST_NODES | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoWsAddrEndpointReference, any) },
+ G_STRUCT_OFFSET(LassoWsAddrEndpointReference, any), NULL, NULL, NULL},
{ "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoWsAddrEndpointReference, attributes) },
- {NULL, 0, 0}
+ G_STRUCT_OFFSET(LassoWsAddrEndpointReference, attributes), NULL, NULL, NULL},
+ {NULL, 0, 0, NULL, NULL, NULL}
};
static LassoNodeClass *parent_class = NULL;
@@ -106,6 +106,7 @@ lasso_wsa_endpoint_reference_get_type()
sizeof(LassoWsAddrEndpointReference),
0,
(GInstanceInitFunc) instance_init,
+ NULL
};
this_type = g_type_register_static(LASSO_TYPE_NODE,