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/id-wsf-2.0/disco_query.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/id-wsf-2.0/disco_query.c')
-rw-r--r-- | lasso/xml/id-wsf-2.0/disco_query.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lasso/xml/id-wsf-2.0/disco_query.c b/lasso/xml/id-wsf-2.0/disco_query.c index ce1b31d3..4ac1c1b3 100644 --- a/lasso/xml/id-wsf-2.0/disco_query.c +++ b/lasso/xml/id-wsf-2.0/disco_query.c @@ -53,10 +53,10 @@ static struct XmlSnippet schema_snippets[] = { { "RequestedService", SNIPPET_LIST_NODES, G_STRUCT_OFFSET(LassoIdWsf2DiscoQuery, RequestedService), - "LassoIdWsf2DiscoRequestedService" }, + "LassoIdWsf2DiscoRequestedService", NULL, NULL }, { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY, - G_STRUCT_OFFSET(LassoIdWsf2DiscoQuery, attributes) }, - {NULL, 0, 0} + G_STRUCT_OFFSET(LassoIdWsf2DiscoQuery, attributes), NULL, NULL, NULL}, + {NULL, 0, 0, NULL, NULL, NULL} }; static LassoNodeClass *parent_class = NULL; @@ -102,6 +102,7 @@ lasso_idwsf2_disco_query_get_type() sizeof(LassoIdWsf2DiscoQuery), 0, (GInstanceInitFunc) instance_init, + NULL }; this_type = g_type_register_static(LASSO_TYPE_NODE, |