diff options
author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2009-01-24 09:33:40 +0000 |
---|---|---|
committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2009-01-24 09:33:40 +0000 |
commit | 33bbf7a7de2361ced173857827c88204326e6bb5 (patch) | |
tree | 5190e0ff3b0839a6fdf0922ad404535368fbbc03 /lasso/xml/soap_binding_usage_directive.c | |
parent | 7fc388abb3cebc81d12aad7ab2f12bbd82eb40d5 (diff) | |
download | lasso-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/soap_binding_usage_directive.c')
-rw-r--r-- | lasso/xml/soap_binding_usage_directive.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/lasso/xml/soap_binding_usage_directive.c b/lasso/xml/soap_binding_usage_directive.c index 537b3ffb..bfa7b92a 100644 --- a/lasso/xml/soap_binding_usage_directive.c +++ b/lasso/xml/soap_binding_usage_directive.c @@ -51,14 +51,14 @@ static struct XmlSnippet schema_snippets[] = { { "", SNIPPET_LIST_NODES, - G_STRUCT_OFFSET(LassoSoapBindingUsageDirective, other) }, + G_STRUCT_OFFSET(LassoSoapBindingUsageDirective, other), NULL, NULL, NULL}, { "ref", SNIPPET_ATTRIBUTE, - G_STRUCT_OFFSET(LassoSoapBindingUsageDirective, ref) }, - { "id", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoSoapBindingUsageDirective, id) }, + G_STRUCT_OFFSET(LassoSoapBindingUsageDirective, ref), NULL, NULL, NULL}, + { "id", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoSoapBindingUsageDirective, id), NULL, NULL, NULL}, { "mustUnderstand", SNIPPET_ATTRIBUTE, - G_STRUCT_OFFSET(LassoSoapBindingUsageDirective, mustUnderstand) }, - { "actor", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoSoapBindingUsageDirective, actor) }, - { NULL, 0, 0} + G_STRUCT_OFFSET(LassoSoapBindingUsageDirective, mustUnderstand), NULL, NULL, NULL}, + { "actor", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoSoapBindingUsageDirective, actor), NULL, NULL, NULL}, + {NULL, 0, 0, NULL, NULL, NULL} }; /*****************************************************************************/ @@ -102,6 +102,7 @@ lasso_soap_binding_usage_directive_get_type() sizeof(LassoSoapBindingUsageDirective), 0, (GInstanceInitFunc) instance_init, + NULL }; this_type = g_type_register_static(LASSO_TYPE_NODE, |