This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: Remove unused variable from powerpc sem_post.c


On 2012-12-04 15:27, David Miller wrote:
> I thought we had atomics that didn't return a value and therefore could
> be used in situations like this, but I guess not.

We have optabs that don't return a value, and we'll use them 
if we see that the return value isn't used.  I wouldn't think
a cast to void would be strictly required...


r~


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