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/samlp_response.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/samlp_response.c')
-rw-r--r-- | lasso/xml/samlp_response.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lasso/xml/samlp_response.c b/lasso/xml/samlp_response.c index b17740e2..c9cefe20 100644 --- a/lasso/xml/samlp_response.c +++ b/lasso/xml/samlp_response.c @@ -52,9 +52,9 @@ /*****************************************************************************/ static struct XmlSnippet schema_snippets[] = { - { "Status", SNIPPET_NODE, G_STRUCT_OFFSET(LassoSamlpResponse, Status) }, - { "Assertion", SNIPPET_LIST_NODES, G_STRUCT_OFFSET(LassoSamlpResponse, Assertion) }, - { NULL, 0, 0} + { "Status", SNIPPET_NODE, G_STRUCT_OFFSET(LassoSamlpResponse, Status), NULL, NULL, NULL}, + { "Assertion", SNIPPET_LIST_NODES, G_STRUCT_OFFSET(LassoSamlpResponse, Assertion), NULL, NULL, NULL}, + {NULL, 0, 0, NULL, NULL, NULL} }; static LassoNodeClass *parent_class = NULL; @@ -141,6 +141,7 @@ lasso_samlp_response_get_type() sizeof(LassoSamlpResponse), 0, (GInstanceInitFunc) instance_init, + NULL }; response_type = g_type_register_static(LASSO_TYPE_SAMLP_RESPONSE_ABSTRACT , |