diff options
author | Colin Watson <cjwatson@debian.org> | 2011-10-09 23:33:04 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2011-10-09 23:33:04 +0100 |
commit | 6fe819e85e367cff9426015b14b3727b5f3623cf (patch) | |
tree | 342ec34e2ce9989ee637b6115b4a85ceeec33fe2 /lib/hashtable.c | |
parent | ddc43c210d7761f0c18fc5473438b4bf09e756f7 (diff) |
* lib/hashtable.c (null_hashtable_free): Use ATTRIBUTE_UNUSED to
appease compiler warnings rather than assigning an argument to
itself.
* src/mandb.c (cleanup_sigsafe, cleanup): Likewise.
Diffstat (limited to 'lib/hashtable.c')
-rw-r--r-- | lib/hashtable.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/hashtable.c b/lib/hashtable.c index 67006cb3..ac86a74d 100644 --- a/lib/hashtable.c +++ b/lib/hashtable.c @@ -63,9 +63,8 @@ static unsigned int hash (const char *s, size_t len) #endif } -void null_hashtable_free (void *defn) +void null_hashtable_free (void *defn ATTRIBUTE_UNUSED) { - defn = defn; /* unused */ } void plain_hashtable_free (void *defn) |