]> granicus.if.org Git - graphviz/commitdiff
cmppair: squash -Wunused-parameter warnings
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 9 Nov 2021 02:51:18 +0000 (18:51 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 14 Nov 2021 21:59:18 +0000 (13:59 -0800)
lib/common/pointset.c

index d15cb79298bcd63d82f8559dfd8447ff0766d508..486b539dcc8d6f713e49a8959dbf07e059e2bd88 100644 (file)
@@ -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)