bfd/
authorCary Coutant <ccoutant@google.com>
Thu, 16 May 2013 16:34:51 +0000 (16:34 +0000)
committerCary Coutant <ccoutant@google.com>
Thu, 16 May 2013 16:34:51 +0000 (16:34 +0000)
* ecoff.c (ecoff_link_check_archive_element): Add initializers for
external_ext_size and esize.

bfd/ChangeLog
bfd/ecoff.c

index 0f5986376c111ad21091a77cc0fd2dbb4693bef8..e220c63524b626224a9c231009438ed72793d498 100644 (file)
@@ -1,3 +1,8 @@
+2013-05-16  Cary Coutant  <ccoutant@google.com>
+
+       * ecoff.c (ecoff_link_check_archive_element): Add initializers for
+       external_ext_size and esize.
+
 2013-05-16  Tristan Gingold  <gingold@adacore.com>
 
        * coff-rs6000.c (_bfd_xcoff_reloc_type_lookup): Handle BFD_RELOC_16.
index 5add50cf506df56ecaa9e3272e18a7e2a7fff6d1..7bfb333f184105c5f9356293307fb42fd0097726 100644 (file)
@@ -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;