summaryrefslogtreecommitdiff
path: root/bfd/hash.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2006-06-06 03:04:12 +0000
committerAlan Modra <amodra@bigpond.net.au>2006-06-06 03:04:12 +0000
commit093a9ce67ab4689bbb8d41403a0e3b3ace4eed02 (patch)
treebe7553979bae9d25a105aaa5e253d844ea026696 /bfd/hash.c
parentefc9a0462d94f8381a9eb9b5732fedc0e00f30a2 (diff)
downloadbinutils-redhat-093a9ce67ab4689bbb8d41403a0e3b3ace4eed02.tar.gz
* hash.c (bfd_hash_lookup): Correct stray line.
Diffstat (limited to 'bfd/hash.c')
-rw-r--r--bfd/hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/hash.c b/bfd/hash.c
index ed0a10d619..3cc4f79644 100644
--- a/bfd/hash.c
+++ b/bfd/hash.c
@@ -455,7 +455,6 @@ bfd_hash_lookup (struct bfd_hash_table *table,
if (copy)
{
char *new;
- table->count ++;
new = objalloc_alloc ((struct objalloc *) table->memory, len + 1);
if (!new)
@@ -470,6 +469,7 @@ bfd_hash_lookup (struct bfd_hash_table *table,
hashp->hash = hash;
hashp->next = table->table[index];
table->table[index] = hashp;
+ table->count++;
if (table->count > table->size * 3 / 4)
{