From ef177c4ece6ed34b59d2a951f056dcad25b69757 Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Tue, 1 Sep 2020 08:32:16 +0200 Subject: [PATCH] Remove 2 -Wmissing-field-initializers warnings in attr.c --- lib/cgraph/attr.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/cgraph/attr.c b/lib/cgraph/attr.c index 2be864302..8a93a6b24 100644 --- a/lib/cgraph/attr.c +++ b/lib/cgraph/attr.c @@ -30,12 +30,14 @@ Dtdisc_t AgDataDictDisc = { NIL(Dtmake_f), freesym, NIL(Dtcompar_f), - NIL(Dthash_f) + NIL(Dthash_f), + NIL(Dtmemory_f), + NIL(Dtevent_f), }; static char DataDictName[] = "_AG_datadict"; static void init_all_attrs(Agraph_t * g); -static Agdesc_t ProtoDesc = { 1, 0, 1, 0, 1, 1 }; +static Agdesc_t ProtoDesc = { 1, 0, 1, 0, 1, 1, 0, 0 }; static Agraph_t *ProtoGraph; Agdatadict_t *agdatadict(Agraph_t * g, int cflag) -- 2.50.1