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

index 46c77252f39cb9014d65d0d2109917fb58bbbe19..ce6a7f25462544f36b1ea061f7c88ada5cd7ec2a 100644 (file)
@@ -102,6 +102,9 @@ pointf textspan_size(GVC_t *gvc, textspan_t * span)
 
 static void* textfont_makef(Dt_t* dt, void* obj, Dtdisc_t* disc)
 {
+    (void)dt;
+    (void)disc;
+
     textfont_t *f1 = (textfont_t*)obj;
     textfont_t *f2 = calloc(1,sizeof(textfont_t));