From af65e5888e7119f02ee63a93d8c8ffc2424aa6eb Mon Sep 17 00:00:00 2001 From: Cary Coutant Date: Thu, 16 May 2013 16:34:51 +0000 Subject: bfd/ * ecoff.c (ecoff_link_check_archive_element): Add initializers for external_ext_size and esize. --- bfd/ChangeLog | 5 +++++ bfd/ecoff.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'bfd') diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 0f59863..e220c63 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2013-05-16 Cary Coutant + + * ecoff.c (ecoff_link_check_archive_element): Add initializers for + external_ext_size and esize. + 2013-05-16 Tristan Gingold * coff-rs6000.c (_bfd_xcoff_reloc_type_lookup): Handle BFD_RELOC_16. diff --git a/bfd/ecoff.c b/bfd/ecoff.c index 5add50c..7bfb333 100644 --- a/bfd/ecoff.c +++ b/bfd/ecoff.c @@ -3561,9 +3561,9 @@ ecoff_link_check_archive_element (bfd *abfd, void (* const swap_ext_in) (bfd *, void *, EXTR *) = backend->debug_swap.swap_ext_in; HDRR *symhdr; - bfd_size_type external_ext_size; + bfd_size_type external_ext_size = 0; void * external_ext = NULL; - bfd_size_type esize; + bfd_size_type esize = 0; char *ssext = NULL; char *ext_ptr; char *ext_end; -- cgit v1.1