diff options
author | Paul Smith <psmith@gnu.org> | 2009-06-07 17:40:06 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2009-06-07 17:40:06 +0000 |
commit | 0b30c8d9cef18f55e2425e32ffc1552af650a1be (patch) | |
tree | 40d5d983e80d10d04bee39765bf904c7b83d0f53 /hash.c | |
parent | 668af4698040c6524f93165300e0f9a84312ea66 (diff) | |
download | gunmake-0b30c8d9cef18f55e2425e32ffc1552af650a1be.tar.gz |
- Add a new test suite for LIBPATTERNS
- Fix Savannah bug #21198
- Fix Savannah bug #21823
- Fix Savannah bug #22010
Diffstat (limited to 'hash.c')
-rw-r--r-- | hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -126,7 +126,7 @@ void * hash_insert (struct hash_table *ht, const void *item) { void **slot = hash_find_slot (ht, item); - const void *old_item = slot ? *slot : 0; + const void *old_item = *slot; hash_insert_at (ht, item, slot); return (void *)((HASH_VACANT (old_item)) ? 0 : old_item); } |