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

index ad030a8d102c561a9b4951e6d2884658b80fd3c3..bfde2afbec00acc1d02beaf003620177d475fe37 100644 (file)
@@ -134,6 +134,9 @@ static void textfont_freef(Dt_t* dt, void* obj, Dtdisc_t* disc)
 
 static int textfont_comparf (Dt_t* dt, void* key1, void* key2, Dtdisc_t* disc)
 {
+    (void)dt;
+    (void)disc;
+
     int rc;
     textfont_t *f1 = (textfont_t*)key1, *f2 = (textfont_t*)key2;