From: Matthew Fernandez Date: Wed, 18 Jan 2023 16:34:52 +0000 (-0800) Subject: neatogen overlap.c: squash some -Wunused-parameter warnings X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=95180abd55c18aed0295198a011d1bb9dc4e1163;p=graphviz neatogen overlap.c: squash some -Wunused-parameter warnings These functions are used as callbacks, so cannot easily have their parameters removed. --- diff --git a/lib/neatogen/overlap.c b/lib/neatogen/overlap.c index 897283967..242b1ef79 100644 --- a/lib/neatogen/overlap.c +++ b/lib/neatogen/overlap.c @@ -103,6 +103,7 @@ static int comp_scan_points(const void *p, const void *q){ } static void NodeDest(void* a) { + (void)a; /* free((int*)a);*/ } @@ -117,9 +118,11 @@ static void NodePrint(const void* a) { } static void InfoPrint(void* a) { + (void)a; } static void InfoDest(void *a){ + (void)a; } static SparseMatrix get_overlap_graph(int dim, int n, double *x, double *width, int check_overlap_only){