[grilo] core: initialise the structure completely



commit f99ac4723247a63e920676b18e63665718be1d8f
Author: Víctor Manuel Jáquez Leal <vjaquez igalia com>
Date:   Thu Aug 19 18:32:31 2010 +0200

    core: initialise the structure completely
    
    In order to silence the compiler when -Wextra is activated, the info structure
    is initialise in all of its fields.
    
    Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez igalia com>

 src/grl-plugin-registry.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/grl-plugin-registry.h b/src/grl-plugin-registry.h
index bce8cc2..45aa114 100644
--- a/src/grl-plugin-registry.h
+++ b/src/grl-plugin-registry.h
@@ -82,7 +82,7 @@
                             deinit,             \
                             id)			\
   G_MODULE_EXPORT GrlPluginDescriptor GRL_PLUGIN_DESCRIPTOR = {		\
-    .info = {id, NULL},							\
+    .info = { id, NULL, NULL, 0 },					\
     .plugin_init = init,						\
     .plugin_deinit = deinit,						\
   }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]