]> granicus.if.org Git - graphviz/commitdiff
janitor - 1 -Wunused_function
authorJohn Ellson <ellson@research.att.com>
Wed, 6 Jan 2016 19:52:56 +0000 (14:52 -0500)
committerJohn Ellson <ellson@research.att.com>
Wed, 6 Jan 2016 19:52:56 +0000 (14:52 -0500)
lib/mingle/agglomerative_bundling.c

index d0175436789fc6ae6beee9dcd2e92b056df40012..27aa9f20f3dfa7b7d1317aaa27b40cc363c91e7f 100644 (file)
@@ -296,7 +296,7 @@ static Agglomerative_Ink_Bundling Agglomerative_Ink_Bundling_establish(Agglomera
 }
 
 
-
+#ifndef  NOTUSED
 static Agglomerative_Ink_Bundling Agglomerative_Ink_Bundling_aggressive_establish(Agglomerative_Ink_Bundling grid, int *pick, real angle_param, real angle){
   /* this does a true single-linkage clustering: find the edge that gives the best saving, merge, find again. 
      As oppose to: find the edge of node i that gives the best ink saving, merge, then do the same for node i+1, etc etc.
@@ -541,6 +541,7 @@ static Agglomerative_Ink_Bundling Agglomerative_Ink_Bundling_aggressive_establis
   FREE(mask);
   return grid;
 }
+#endif
 
 static Agglomerative_Ink_Bundling Agglomerative_Ink_Bundling_new(SparseMatrix A0, pedge *edges, real angle_param, real angle){
   /* give a link of edges and their nearest neighbor graph, return a multilevel of edge bundling based on ink saving */