summaryrefslogtreecommitdiffstats
path: root/lasso/xml/saml_attribute.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/saml_attribute.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/saml_attribute.c')
-rw-r--r--lasso/xml/saml_attribute.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/lasso/xml/saml_attribute.c b/lasso/xml/saml_attribute.c
index c84d6ce2..fa18cf79 100644
--- a/lasso/xml/saml_attribute.c
+++ b/lasso/xml/saml_attribute.c
@@ -66,12 +66,12 @@
static struct XmlSnippet schema_snippets[] = {
{ "AttributeName", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoSamlAttribute, attributeName) },
+ G_STRUCT_OFFSET(LassoSamlAttribute, attributeName), NULL, NULL, NULL},
{ "AttributeNameSpace", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoSamlAttribute, attributeNameSpace) },
+ G_STRUCT_OFFSET(LassoSamlAttribute, attributeNameSpace), NULL, NULL, NULL},
{ "AttributeValue", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoSamlAttribute, AttributeValue) },
- { NULL, 0, 0}
+ G_STRUCT_OFFSET(LassoSamlAttribute, AttributeValue), NULL, NULL, NULL},
+ {NULL, 0, 0, NULL, NULL, NULL}
};
/*****************************************************************************/
@@ -113,6 +113,7 @@ lasso_saml_attribute_get_type()
sizeof(LassoSamlAttribute),
0,
(GInstanceInitFunc) instance_init,
+ NULL
};
this_type = g_type_register_static(LASSO_TYPE_SAML_ATTRIBUTE_DESIGNATOR,