From 6b644e37690658dc9a902d38743b81aaf8292039 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Mon, 8 Nov 2021 18:51:18 -0800 Subject: [PATCH] cmppair: squash -Wunused-parameter warnings --- lib/common/pointset.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/common/pointset.c b/lib/common/pointset.c index d15cb7929..486b539dc 100644 --- a/lib/common/pointset.c +++ b/lib/common/pointset.c @@ -36,6 +36,9 @@ static void freePair(Dt_t * d, pair* pp, Dtdisc_t * disc) static int cmppair(Dt_t * d, point * key1, point * key2, Dtdisc_t * disc) { + (void)d; + (void)disc; + if (key1->x > key2->x) return 1; else if (key1->x < key2->x) -- 2.40.0