From a7db7183eed994965345d60d33c594a8633ba8cb Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Mon, 8 Nov 2021 18:42:39 -0800 Subject: [PATCH] textfont_makef: squash -Wunused-parameter warnings --- lib/common/textspan.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/common/textspan.c b/lib/common/textspan.c index 46c77252f..ce6a7f254 100644 --- a/lib/common/textspan.c +++ b/lib/common/textspan.c @@ -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)); -- 2.49.0