X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=libiberty%2Fhashtab.c;fp=libiberty%2Fhashtab.c;h=9f917c3571d96a6ebd1e472f85bb85787f715a6c;hb=07ffcfecac22d21774a110db0f65f0387c8f1102;hp=880c8787716520d8c80583ceb9c678a8b8dde065;hpb=5f60cccf9db8b5f4aa4303f8e4ccc246f723fbe5;p=deliverable%2Fbinutils-gdb.git diff --git a/libiberty/hashtab.c b/libiberty/hashtab.c index 880c878771..9f917c3571 100644 --- a/libiberty/hashtab.c +++ b/libiberty/hashtab.c @@ -725,7 +725,7 @@ htab_remove_elt_with_hash (htab_t htab, PTR element, hashval_t hash) PTR *slot; slot = htab_find_slot_with_hash (htab, element, hash, NO_INSERT); - if (*slot == HTAB_EMPTY_ENTRY) + if (slot == NULL) return; if (htab->del_f)