mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
Fix missing initializer warning in gobject/gtype.c
gobject/gtype.c:1103:55: warning: missing field 'value_free' initializer static const GTypeValueTable zero_vtable = { NULL, }; ^
This commit is contained in:
parent
4575c70a6b
commit
bee07cebcd
@ -1100,7 +1100,8 @@ type_data_make_W (TypeNode *node,
|
||||
vtable = pnode->data->common.value_table;
|
||||
else
|
||||
{
|
||||
static const GTypeValueTable zero_vtable = { NULL, };
|
||||
static const GTypeValueTable zero_vtable =
|
||||
{ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL };
|
||||
|
||||
value_table = &zero_vtable;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user