summaryrefslogtreecommitdiffstats
path: root/lasso/xml/samlp_response.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/samlp_response.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/samlp_response.c')
-rw-r--r--lasso/xml/samlp_response.c7
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 ,