Commit 15966998 authored by Cody P Schafer's avatar Cody P Schafer Committed by Rusty Russell

htable/htable_type: avoid warning about an unused argument

Signed-off-by: default avatarCody P Schafer <dev@codyps.com>
parent e22c782f
......@@ -55,6 +55,7 @@
struct name##_iter { struct htable_iter i; }; \
static inline size_t name##_hash(const void *elem, void *priv) \
{ \
(void)priv; \
return hashfn(keyof((const type *)elem)); \
} \
static inline UNNEEDED void name##_init(struct name *ht) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment