summaryrefslogtreecommitdiff
path: root/libihash
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2013-12-05 17:34:48 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2013-12-09 15:07:59 +0100
commit64b5a0f4dde23ee9b809b909bccd4ee8637364e9 (patch)
tree8d9c1e6f116b48509f33c08636600a5902f2095d /libihash
parenta0a49e530b269679695daa6014bfade0b36970e1 (diff)
libihash: remove dead code
* libihash/ihash.c (hurd_ihash_add): Remove dead code.
Diffstat (limited to 'libihash')
-rw-r--r--libihash/ihash.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libihash/ihash.c b/libihash/ihash.c
index be1c5803..d670fee2 100644
--- a/libihash/ihash.c
+++ b/libihash/ihash.c
@@ -372,9 +372,6 @@ hurd_ihash_add (hurd_ihash_t ht, hurd_ihash_key_t key, hurd_ihash_value_t item)
if (ht->items == NULL)
{
- if (ht->items)
- free(ht->items);
-
*ht = old_ht;
return ENOMEM;
}