]> granicus.if.org Git - graphviz/commitdiff
Merge branch '4AF62F39-396B-483C-A035-F1C7A0E5D039' into 'master'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 25 Oct 2020 04:42:28 +0000 (04:42 +0000)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 25 Oct 2020 04:42:28 +0000 (04:42 +0000)
remove some unused lib/cgraph functions

See merge request graphviz/graphviz!1445

1  2 
lib/cgraph/flatten.c
lib/cgraph/graph.c
lib/cgraph/obj.c
lib/cgraph/utils.c

Simple merge
Simple merge
Simple merge
index 245d6b8197d20144067ad5442a4c2195d33d720b,78c958699f6e3a0e7c476979d78beb3ddef30319..1b7b017b3be8ca8599749b57adb23f4f005bd156
@@@ -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;