X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fhtable%2Fhtable.h;h=9845388e1b9f47b7938e765a4682c7b4aee689fe;hb=ad2ce76c10f808283ea7cf25cd8e76a15710c4f3;hp=61ed9170fda461779840f63db55295757a9bce8a;hpb=f359fde1b7c3ca60faebd4df710bf30a68784e27;p=ccan diff --git a/ccan/htable/htable.h b/ccan/htable/htable.h index 61ed9170..9845388e 100644 --- a/ccan/htable/htable.h +++ b/ccan/htable/htable.h @@ -35,6 +35,7 @@ struct htable { * // For simplicity's sake, say hash value is contents of elem. * static size_t rehash(const void *elem, void *unused) * { + * (void)unused; * return *(size_t *)elem; * } * static struct htable ht = HTABLE_INITIALIZER(ht, rehash, NULL);