summaryrefslogtreecommitdiffstats
path: root/lasso/id-ff/federation.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/id-ff/federation.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/id-ff/federation.c')
-rw-r--r--lasso/id-ff/federation.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/lasso/id-ff/federation.c b/lasso/id-ff/federation.c
index 2ca96afc..97dd119b 100644
--- a/lasso/id-ff/federation.c
+++ b/lasso/id-ff/federation.c
@@ -158,12 +158,12 @@ lasso_federation_verify_name_identifier(LassoFederation *federation,
static struct XmlSnippet schema_snippets[] = {
{ "LocalNameIdentifier", SNIPPET_NODE_IN_CHILD,
- G_STRUCT_OFFSET(LassoFederation, local_nameIdentifier) },
+ G_STRUCT_OFFSET(LassoFederation, local_nameIdentifier), NULL, NULL, NULL},
{ "RemoteNameIdentifier", SNIPPET_NODE_IN_CHILD,
- G_STRUCT_OFFSET(LassoFederation, remote_nameIdentifier) },
+ G_STRUCT_OFFSET(LassoFederation, remote_nameIdentifier), NULL, NULL, NULL},
{ "RemoteProviderID", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoFederation, remote_providerID) },
- { NULL, 0, 0}
+ G_STRUCT_OFFSET(LassoFederation, remote_providerID), NULL, NULL, NULL},
+ {NULL, 0, 0, NULL, NULL, NULL}
};
static LassoNodeClass *parent_class = NULL;
@@ -257,6 +257,7 @@ lasso_federation_get_type()
sizeof(LassoFederation),
0,
(GInstanceInitFunc) instance_init,
+ NULL
};
this_type = g_type_register_static(LASSO_TYPE_NODE,