mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
Fix missing initializer warning in gobject/gtypemodule.c:g_type_module_get_type()
gobject/gtypemodule.c: In function ‘g_type_module_get_type’: gobject/gtypemodule.c:154:7: error: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘const struct _GTypeInfo’} 154 | }; | ^ In file included from gobject/gtypeplugin.h:24, from gobject/gtypemodule.c:22: gobject/gtype.h:1063:26: note: ‘value_table’ declared here 1063 | const GTypeValueTable *value_table; | ^~~~~~~~~~~
This commit is contained in:
parent
12ec1eb062
commit
dd16d1e879
@ -151,6 +151,7 @@ g_type_module_get_type (void)
|
||||
sizeof (GTypeModule),
|
||||
0, /* n_preallocs */
|
||||
NULL, /* instance_init */
|
||||
NULL, /* value_table */
|
||||
};
|
||||
const GInterfaceInfo iface_info = {
|
||||
(GInterfaceInitFunc) g_type_module_iface_init,
|
||||
|
Loading…
Reference in New Issue
Block a user