Add ATTR_UNUSED to HT_FIND

The fix for bug 8746 added a hashtable instance that never actually
invoked HT_FIND.  This caused a warning, since we didn't mark HT_FIND
as okay-not-to-use.
This commit is contained in:
Nick Mathewson 2014-06-14 11:46:54 -04:00
parent a7cafb1ea9
commit 9b10d7a7dd
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ ht_string_hash(const char *s)
} \
/* Return a pointer to the element in the table 'head' matching 'elm', \
* or NULL if no such element exists */ \
static INLINE struct type * \
ATTR_UNUSED static INLINE struct type * \
name##_HT_FIND(const struct name *head, struct type *elm) \
{ \
struct type **p; \