This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] bfd - fix warning


Matthias Klose wrote:
> I see the follwing warning (building with GCC-4.4):
> 
> peigen.c: In function '_bfd_pei_swap_sym_in':
> peigen.c:133: error: 'name' may be used uninitialized in this function
> make[3]: *** [peigen.lo] Error 1

  How peculiar.  I can't reproduce this with any of 4.3.2, 4.4.0rc and 4.5.0
on i686-pc-cygwin.  Are you using a plain vanilla build from upstream or do
you have distro-local patches?  Is your host 32- or 64-bit?

> bfd/
> 
> 	* bfd/peXXigen.c (_bfd_XXi_swap_sym_in): Initialize `name'.

  If it were up to me I would have thought this qualifies as "obvious", does
it not?

    cheers,
      DaveK


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]