From 18251ae0c326a3d2f0f5212cbde23a4130e9d31d Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Mon, 13 Jul 2020 20:10:07 -0700 Subject: [PATCH] suppress compile errors from unused remove_overlap() parameters Related to #1544. --- lib/neatogen/overlap.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/lib/neatogen/overlap.c b/lib/neatogen/overlap.c index e410e5546..fd3870336 100644 --- a/lib/neatogen/overlap.c +++ b/lib/neatogen/overlap.c @@ -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"); -- 2.40.0