From 5ba8816a2d4c9d8a7c3e19a8369b39390e99f854 Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Thu, 26 Jul 2007 21:58:44 +0000 Subject: [PATCH] Fix bollixed check-in --- bfd/linker.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bfd/linker.c b/bfd/linker.c index d31752be373..a679a32c46e 100644 --- a/bfd/linker.c +++ b/bfd/linker.c @@ -2946,11 +2946,11 @@ already_linked_newfunc (struct bfd_hash_entry *entry ATTRIBUTE_UNUSED, struct bfd_section_already_linked_hash_entry *ret = bfd_hash_allocate (table, sizeof *ret); - ret->entry = NULL; - if (ret == NULL) return ret; + ret->entry = NULL; + return &ret->root; } -- 2.30.2