From: ellson Date: Fri, 27 Feb 2009 18:44:21 +0000 (+0000) Subject: Janitor - fix: "edge.c:26: warning: ‘graphs_of_e’ defined but not used" X-Git-Tag: LAST_LIBGRAPH~32^2~2380 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=565b91884136ffe337345a102a152ee2803a37b0;p=graphviz Janitor - fix: "edge.c:26: warning: ‘graphs_of_e’ defined but not used" --- diff --git a/lib/graph/edge.c b/lib/graph/edge.c index 2aa2126b1..b9fb7bb5a 100644 --- a/lib/graph/edge.c +++ b/lib/graph/edge.c @@ -22,6 +22,8 @@ #include "dmalloc.h" #endif +#if 0 +/* graphs_of_e() is never used - suppress compiler warnings. */ static void graphs_of_e(Agedge_t * e, Dict_t * g_e, Agraph_t * g) { Agedge_t *sub; @@ -35,6 +37,7 @@ static void graphs_of_e(Agedge_t * e, Dict_t * g_e, Agraph_t * g) sub = agnxtin(g->meta_node->graph, sub)) graphs_of_e(e, g_e, agusergraph(sub->head)); } +#endif static Agedge_t *esearch(Agraph_t * g, Agnode_t * tail, Agnode_t * head, char *usrkey)