]> granicus.if.org Git - graphviz/commitdiff
intset.c: [nfc] squash unused parameter warnings
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 24 Dec 2021 16:32:36 +0000 (08:32 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 25 Dec 2021 19:40:20 +0000 (11:40 -0800)
lib/common/intset.c

index 4652f18b1959dcddf11dc2079f1edbe2551ae88d..afdd6731d80266cd2c0c23a7a3d632f4df8faa9e 100644 (file)
@@ -17,6 +17,9 @@
 static void*
 mkIntItem(Dt_t* d,intitem* obj,Dtdisc_t* disc)
 { 
+    (void)d;
+    (void)disc;
+
     intitem* np = NEW(intitem);
     np->id = obj->id;
     return (void*)np;
@@ -25,12 +28,18 @@ mkIntItem(Dt_t* d,intitem* obj,Dtdisc_t* disc)
 static void
 freeIntItem(Dt_t* d,intitem* obj,Dtdisc_t* disc)
 {
+    (void)d;
+    (void)disc;
+
     free (obj);
 }
 
 static int
 cmpid(Dt_t* d, int* key1, int* key2, Dtdisc_t* disc)
 {
+  (void)d;
+  (void)disc;
+
   if (*key1 > *key2) return 1;
   else if (*key1 < *key2) return -1;
   else return 0;