]> granicus.if.org Git - graphviz/commitdiff
Janitor - fix: "edge.c:26: warning: ‘graphs_of_e’ defined but not used"
authorellson <devnull@localhost>
Fri, 27 Feb 2009 18:44:21 +0000 (18:44 +0000)
committerellson <devnull@localhost>
Fri, 27 Feb 2009 18:44:21 +0000 (18:44 +0000)
lib/graph/edge.c

index 2aa2126b169ddf1bd0f2d034f22627e08c1dfca1..b9fb7bb5a8c2ebee869d0719071bf8f00c8e2d0b 100644 (file)
@@ -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)