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: [BFD PATCH] Removing warning on clang


Hi Luca,

2013-04-15 Luca Pizzamiglio <luca.pizzamiglio@gmail.com>

bfd/
     * coffcode.h: Added a cast to void when a bfd_set_section_*()
       macro's return value is ignored.
     * elf32-hppa.c: Likewise.
     * elf32-m32r.c: Likewise.
     * elf32-tic6x.c: Likewise.
     * elfnn-ia64.c: Likewise.
     * elfxx-mips.c: Likewise.
     * mach-o.c: Likewise.
     * mmo.c: Likewise.
     * opncls.c: Likewise.
     * peicode.h: Likewise.
     * vms-alpha.c: Likewise.

Thanks for submitting this patch. I have applied it with one small change - in a couple of cases it made more sense to check the return value from the bfd_set_section_*() function than to ignore it.

Cheers
  Nick



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