From: Matthew Fernandez Date: Sun, 25 Oct 2020 04:42:28 +0000 (+0000) Subject: Merge branch '4AF62F39-396B-483C-A035-F1C7A0E5D039' into 'master' X-Git-Tag: 2.46.0~20^2^2~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c73801228f2f2c726a768ffd2122cb51a9b1041b;p=graphviz Merge branch '4AF62F39-396B-483C-A035-F1C7A0E5D039' into 'master' remove some unused lib/cgraph functions See merge request graphviz/graphviz!1445 --- c73801228f2f2c726a768ffd2122cb51a9b1041b diff --cc lib/cgraph/utils.c index 245d6b819,78c958699..1b7b017b3 --- a/lib/cgraph/utils.c +++ b/lib/cgraph/utils.c @@@ -64,18 -64,12 +64,12 @@@ Dict_t *agdtopen(Agraph_t * g, Dtdisc_ return d; } -long agdtdelete(Agraph_t * g, Dict_t * dict, void *obj) +int agdtdelete(Agraph_t * g, Dict_t * dict, void *obj) { Ag_dictop_G = g; - return (long) dtdelete(dict, obj); + return dtdelete(dict, obj) != NULL; } - int agobjfinalize(void * obj) - { - agfree(Ag_dictop_G, obj); - return 0; - } - int agdtclose(Agraph_t * g, Dict_t * dict) { Dtmemory_f memf;