merge from gcc

This commit is contained in:
DJ Delorie
2003-10-30 18:39:13 +00:00
parent 0aa92b58af
commit 686e72d729
2 changed files with 7 additions and 2 deletions

View File

@@ -535,14 +535,14 @@ htab_find_slot_with_hash (htab, element, hash, insert)
if (insert == NO_INSERT)
return NULL;
htab->n_elements++;
if (first_deleted_slot)
{
htab->n_deleted--;
*first_deleted_slot = EMPTY_ENTRY;
return first_deleted_slot;
}
htab->n_elements++;
return &htab->entries[index];
}