]> granicus.if.org Git - graphviz/commitdiff
smyrna: remove unused 'print_attr_list'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 10 Nov 2021 15:20:41 +0000 (07:20 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 16 Nov 2021 14:52:28 +0000 (06:52 -0800)
cmd/smyrna/gui/frmobjectui.c

index 1adde165692ee4e65700930c9b47f0368dc935a2..2a98174648dd94bc96bb6b03ac97c26ef630d285 100644 (file)
@@ -167,19 +167,6 @@ attr_list *attr_list_new(Agraph_t * g, int with_widgets)
     return l;
 }
 
-void print_attr_list(attr_list * l)
-{
-    int id;
-    for (id = 0; id < l->attr_count; id++) {
-       printf("%d  %s (%d %d %d) \n", l->attributes[id]->index,
-              l->attributes[id]->name, l->attributes[id]->objType[0],
-              l->attributes[id]->objType[1],
-              l->attributes[id]->objType[2]);
-       printf("defG:%s defN:%s defE:%s\n", l->attributes[id]->defValG,
-              l->attributes[id]->defValN, l->attributes[id]->defValE);
-    }
-}
-
 static int attr_compare(const void *a, const void *b)
 {
     const attr_t *a1 = *(attr_t *const *) a;