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

index a006e4a973c30cf5b32744fb335e0302e5f3255e..c5f42300b79f4a3c911741a62a952331596208bc 100644 (file)
@@ -158,6 +158,8 @@ static mpair *mkMPair(Dt_t * d, mpair * obj, MPairDisc * disc)
 
 static void freeMPair(Dt_t * d, mpair * ap, MPairDisc * disc)
 {
+    (void)d;
+
     ap->link.right = (Dtlink_t *) (disc->flist);
     disc->flist = ap;
 }