diff options
author | Alan Modra <amodra@gmail.com> | 2019-04-07 20:41:49 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2019-04-07 20:49:49 +0930 |
commit | 07ffcfecac22d21774a110db0f65f0387c8f1102 (patch) | |
tree | 120cc0b18f95144c1b03367a36ba6753db81e777 /libiberty/hashtab.c | |
parent | 5f60cccf9db8b5f4aa4303f8e4ccc246f723fbe5 (diff) | |
download | gdb-07ffcfecac22d21774a110db0f65f0387c8f1102.zip gdb-07ffcfecac22d21774a110db0f65f0387c8f1102.tar.gz gdb-07ffcfecac22d21774a110db0f65f0387c8f1102.tar.bz2 |
Merge libiberty from gcc
Diffstat (limited to 'libiberty/hashtab.c')
-rw-r--r-- | libiberty/hashtab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/hashtab.c b/libiberty/hashtab.c index 880c878..9f917c3 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) |