X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fhtable%2Ftest%2Frun.c;h=46514c7202f2438b54b15aca2f9c0800ca5f5dd4;hp=98f208717c74ec284df105dfa3797afba4ab6065;hb=ad2ce76c10f808283ea7cf25cd8e76a15710c4f3;hpb=5877402640cff05f779b23a730e4cc62d729113f diff --git a/ccan/htable/test/run.c b/ccan/htable/test/run.c index 98f20871..46514c72 100644 --- a/ccan/htable/test/run.c +++ b/ccan/htable/test/run.c @@ -10,7 +10,7 @@ /* We use the number divided by two as the hash (for lots of collisions), plus set all the higher bits so we can detect if they don't get masked out. */ -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; h |= -1UL << NUM_BITS;