]> granicus.if.org Git - graphviz/commitdiff
Remove 2 -Wmissing-field-initializers warnings in attr.c
authorMagnus Jacobsson <magnus.jacobsson@berotec.se>
Tue, 1 Sep 2020 06:32:16 +0000 (08:32 +0200)
committerMagnus Jacobsson <magnus.jacobsson@berotec.se>
Mon, 7 Sep 2020 13:42:17 +0000 (15:42 +0200)
lib/cgraph/attr.c

index 2be8643020bd385b64b292e65b5f127a8dd70bb8..8a93a6b24d2de6f681cc10106f6692e087f76f1b 100644 (file)
@@ -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)