aboutsummaryrefslogtreecommitdiff
path: root/bfd/hash.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2006-06-06 03:04:12 +0000
committerAlan Modra <amodra@gmail.com>2006-06-06 03:04:12 +0000
commit0bef4ce53867deab8b2876677d6c201b87a85a27 (patch)
treed6152854ae46b4e129425818e73ce5458b0ecca4 /bfd/hash.c
parentd3fd40746a745dfda9997e1e0a850df72a366291 (diff)
downloadgdb-0bef4ce53867deab8b2876677d6c201b87a85a27.zip
gdb-0bef4ce53867deab8b2876677d6c201b87a85a27.tar.gz
gdb-0bef4ce53867deab8b2876677d6c201b87a85a27.tar.bz2
* 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 ed0a10d..3cc4f79 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)
{