X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fhtable%2Ftest%2Frun-size.c;h=1a2f5cdd1ef8cbbfc1ab84f8221b5bb61b9734ab;hb=04bcddcc084cf0ef05945c7a9d609e08e30387be;hp=5b3263895ca83ad28bcb3312122c4bb3c056be41;hpb=e7e57cbf6725debd99238ccd8e3bf273a8d7e61c;p=ccan diff --git a/ccan/htable/test/run-size.c b/ccan/htable/test/run-size.c index 5b326389..1a2f5cdd 100644 --- a/ccan/htable/test/run-size.c +++ b/ccan/htable/test/run-size.c @@ -8,7 +8,7 @@ /* We use the number divided by two as the hash (for lots of collisions). */ -static size_t hash(const void *elem, void *unused) +static size_t hash(const void *elem, void *unused UNNEEDED) { size_t h = *(uint64_t *)elem / 2; return h;