mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 07:26:15 +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;
|
vtable = pnode->data->common.value_table;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
static const GTypeValueTable zero_vtable = { NULL, };
|
static const GTypeValueTable zero_vtable =
|
||||||
|
{ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL };
|
||||||
|
|
||||||
value_table = &zero_vtable;
|
value_table = &zero_vtable;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user