Skip to content
Snippets Groups Projects
Commit 9b10d7a7 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

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.
parent a7cafb1e
No related branches found
Tags tor-0.2.2.14-alpha
No related merge requests found
......@@ -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; \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment