[grilo] core: initialise the structure completely
- From: Victor Manuel Jaquez Leal <vjaquez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo] core: initialise the structure completely
- Date: Thu, 19 Aug 2010 19:04:38 +0000 (UTC)
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]