summaryrefslogtreecommitdiffstats
path: root/lasso/xml/is_interaction_request.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/is_interaction_request.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/is_interaction_request.c')
-rw-r--r--lasso/xml/is_interaction_request.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/lasso/xml/is_interaction_request.c b/lasso/xml/is_interaction_request.c
index 20ed09b3..92ebec81 100644
--- a/lasso/xml/is_interaction_request.c
+++ b/lasso/xml/is_interaction_request.c
@@ -53,20 +53,20 @@
static struct XmlSnippet schema_snippets[] = {
{ "ResourceID", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIsInteractionRequest, ResourceID) },
+ G_STRUCT_OFFSET(LassoIsInteractionRequest, ResourceID), NULL, NULL, NULL},
{ "EncryptedResourceID", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIsInteractionRequest, EncryptedResourceID) },
+ G_STRUCT_OFFSET(LassoIsInteractionRequest, EncryptedResourceID), NULL, NULL, NULL},
{ "Inquiry", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIsInteractionRequest, Inquiry) },
+ G_STRUCT_OFFSET(LassoIsInteractionRequest, Inquiry), NULL, NULL, NULL},
/* TODO : KeyInfo */
{ "id", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoIsInteractionRequest, id) },
+ G_STRUCT_OFFSET(LassoIsInteractionRequest, id), NULL, NULL, NULL},
{ "language", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoIsInteractionRequest, language) },
+ G_STRUCT_OFFSET(LassoIsInteractionRequest, language), NULL, NULL, NULL},
{ "maxInteractTime", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIsInteractionRequest, maxInteractTime) },
+ G_STRUCT_OFFSET(LassoIsInteractionRequest, maxInteractTime), NULL, NULL, NULL},
/* TODO : signed */
- { NULL, 0, 0}
+ {NULL, 0, 0, NULL, NULL, NULL}
};
/*****************************************************************************/
@@ -113,6 +113,7 @@ lasso_is_interaction_request_get_type()
sizeof(LassoIsInteractionRequest),
0,
(GInstanceInitFunc) instance_init,
+ NULL
};
this_type = g_type_register_static(LASSO_TYPE_NODE,