From 33bbf7a7de2361ced173857827c88204326e6bb5 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Sat, 24 Jan 2009 09:33:40 +0000 Subject: 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. --- lasso/xml/is_interaction_request.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'lasso/xml/is_interaction_request.c') 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, -- cgit