diff options
author | Andreas Schwab <schwab@suse.de> | 1999-06-02 02:56:30 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 1999-06-02 02:56:30 +0000 |
commit | 8010e3826794e4a0bdb0bdb40a56140979190222 (patch) | |
tree | 9a767a7aa06f6643c98dd8ea8d2046261821f633 /bfd/vms-misc.c | |
parent | bcefb3abb7323d323f76624ae6d93eef62e47620 (diff) | |
download | gdb-8010e3826794e4a0bdb0bdb40a56140979190222.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 a5fdae4cc28..81b1fc8c92f 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 |