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_status.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_status.c')
-rw-r--r-- | lasso/xml/samlp_status.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lasso/xml/samlp_status.c b/lasso/xml/samlp_status.c index 8caa43dc..35fd4ffa 100644 --- a/lasso/xml/samlp_status.c +++ b/lasso/xml/samlp_status.c @@ -50,9 +50,9 @@ /*****************************************************************************/ static struct XmlSnippet schema_snippets[] = { - { "StatusCode", SNIPPET_NODE, G_STRUCT_OFFSET(LassoSamlpStatus, StatusCode) }, - { "StatusMessage", SNIPPET_CONTENT, G_STRUCT_OFFSET(LassoSamlpStatus, StatusMessage) }, - { NULL, 0, 0} + { "StatusCode", SNIPPET_NODE, G_STRUCT_OFFSET(LassoSamlpStatus, StatusCode), NULL, NULL, NULL}, + { "StatusMessage", SNIPPET_CONTENT, G_STRUCT_OFFSET(LassoSamlpStatus, StatusMessage), NULL, NULL, NULL}, + {NULL, 0, 0, NULL, NULL, NULL} }; static gchar* @@ -137,6 +137,7 @@ lasso_samlp_status_get_type() sizeof(LassoSamlpStatus), 0, (GInstanceInitFunc) instance_init, + NULL }; this_type = g_type_register_static(LASSO_TYPE_NODE, |