]> git.ozlabs.org Git - ccan/blobdiff - ccan/htable/test/run-type.c
htable: another unused parameter in tests.
[ccan] / ccan / htable / test / run-type.c
index e1a78f49616eee40d421994253b30b1c07a5aba7..a3616a5a37b8fb1f2588d9d8e369136c6436665e 100644 (file)
@@ -83,7 +83,7 @@ static void del_vals(struct htable_obj *ht,
 }
 
 static void del_vals_bykey(struct htable_obj *ht,
-                          const struct obj val[], unsigned int num)
+                          const struct obj val[] UNNEEDED, unsigned int num)
 {
        unsigned int i;
 
@@ -107,7 +107,7 @@ static bool check_mask(struct htable *ht, const struct obj val[], unsigned num)
        return true;
 }
 
-int main(int argc, char *argv[])
+int main(void)
 {
        unsigned int i;
        struct htable_obj ht, ht2;