[BFD PATCH] Removing warning on clang

nick clifton nickc@redhat.com
Wed Apr 17 14:17:00 GMT 2013


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




More information about the Binutils mailing list