]> granicus.if.org Git - graphviz/commitdiff
neatogen multipline newItem: squash a -Wunused-parameter compiler warning
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 6 Sep 2021 19:38:42 +0000 (12:38 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 9 Sep 2021 14:32:12 +0000 (07:32 -0700)
lib/neatogen/multispline.c

index d1fb18aa034404c8c6556e4d0bde762a97220d61..434c51f13380a5c6ccfc07ffc5abe853e4037361 100644 (file)
@@ -77,6 +77,7 @@ static void *newItem(Dt_t * d, item * objp, Dtdisc_t * disc)
 {
     item *newp = NEW(item);
 
+    NOTUSED(d);
     NOTUSED(disc);
     newp->a[0] = objp->a[0];
     newp->a[1] = objp->a[1];