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: silence warning in libiberty/pex-unix.c


> Let's fix that problem, then.  I like the idea of __attribute__
> ((__warn_unused_result__)) but I don't like the idea of adding
> extraneous and useless tests merely to avoid a warning.  I would be OK
> with it if the code compiled to nothing, but that won't be the case in
> this example.

OK, I will file a bug report (and commit the pex-unix.c patch with the
void cast as discussed earlier).  Thanks,

Ben



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