]> granicus.if.org Git - graphviz/commitdiff
suppress compile errors from unused remove_overlap() parameters
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 14 Jul 2020 03:10:07 +0000 (20:10 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 14 Jul 2020 03:10:07 +0000 (20:10 -0700)
Related to #1544.

lib/neatogen/overlap.c

index e410e55461e82552716fcae57cb261e78d7b10e3..fd387033606238ff417669327529b7462bda0322 100644 (file)
@@ -688,6 +688,19 @@ void remove_overlap(int dim, SparseMatrix A, real *x, real *label_sizes, int ntr
 {
     static int once;
 
+    (void)dim;
+    (void)A;
+    (void)x;
+    (void)label_sizes;
+    (void)ntry;
+    (void)initial_scaling;
+    (void)edge_labeling_scheme;
+    (void)n_constr_nodes;
+    (void)constr_nodes;
+    (void)A_constr;
+    (void)do_shrinking;
+    (void)flag;
+
     if (once == 0) {
        once = 1;
        agerr(AGERR, "remove_overlap: Graphviz not built with triangulation library\n");