From: Magnus Jacobsson Date: Tue, 1 Sep 2020 06:32:16 +0000 (+0200) Subject: Remove 2 -Wmissing-field-initializers warnings in attr.c X-Git-Tag: 2.46.0~20^2^2~93^2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ef177c4ece6ed34b59d2a951f056dcad25b69757;p=graphviz Remove 2 -Wmissing-field-initializers warnings in attr.c --- 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)