From: Matthew Fernandez Date: Wed, 18 Jan 2023 16:22:35 +0000 (-0800) Subject: mingle edge_bundling: squash compilation warnings when building without libANN X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e5baf8851c0e1c9a90659fd0ebefb2fd5bce3564;p=graphviz mingle edge_bundling: squash compilation warnings when building without libANN --- diff --git a/lib/mingle/edge_bundling.cpp b/lib/mingle/edge_bundling.cpp index 9d11096c4..cb86606b4 100644 --- a/lib/mingle/edge_bundling.cpp +++ b/lib/mingle/edge_bundling.cpp @@ -625,6 +625,8 @@ pedge* edge_bundling(SparseMatrix A0, int dim, double *x, int maxit_outer, doubl /* plan: merge a node with its neighbors if doing so improve. Form coarsening graph, repeat until no more ink saving */ edges = agglomerative_ink_bundling(dim, A, edges, nneighbor, max_recursion, angle_param, angle); #else + (void)max_recursion; + (void)nneighbor; agerr (AGERR, "Graphviz built without approximate nearest neighbor library ANN; agglomerative inking not available\n"); edges = edges; #endif