diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 1999-06-02 02:56:30 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 1999-06-02 02:56:30 +0000 |
commit | c22b162d417ece8e6c1607a8ae6a0ddde105599d (patch) | |
tree | 3b1c5dcb953cdb80642978a651317368ac2ce811 /bfd/vms-misc.c | |
parent | d0c48c0e4530f8c7a103d64d61926ac56b11dbb9 (diff) | |
download | binutils-redhat-c22b162d417ece8e6c1607a8ae6a0ddde105599d.tar.gz |
* vms-misc.c (_bfd_vms_hash_newfunc): Fix use of uninitialized
variable.
Diffstat (limited to 'bfd/vms-misc.c')
-rw-r--r-- | bfd/vms-misc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/vms-misc.c b/bfd/vms-misc.c index a5fdae4cc2..81b1fc8c92 100644 --- a/bfd/vms-misc.c +++ b/bfd/vms-misc.c @@ -198,11 +198,12 @@ _bfd_vms_hash_newfunc (entry, table, string) bfd_set_error (bfd_error_no_memory); return (struct bfd_hash_entry *)NULL; } + entry = (struct bfd_hash_entry *) ret; } /* Call the allocation method of the base class. */ - ret = (vms_symbol_entry *) bfd_hash_newfunc ((struct bfd_hash_entry *)ret, table, string); + ret = (vms_symbol_entry *) bfd_hash_newfunc (entry, table, string); #if VMS_DEBUG vms_debug (6, "_bfd_vms_hash_newfunc ret %p\n", ret); #endif |