[libdispatch-dev] [PATCH] Quiet the warning of unused return value
Mark Heily
mark at heily.com
Sat May 28 07:17:53 PDT 2011
On 05/28/2011 08:28 AM, Joakim Johansson wrote:
> I get a warning as the return value is not checked from dispatch_atomic_cmpxchg() - as it is in all other 11 usages of it.
>
> Attached is a patch that just discards the return value accordingly to quiet this warning.
>
I have created a HOWTO site for building and using libdispatch here:
http://mark.heily.com/libdispatch
I've added the two patches you just sent, along with the other patches that
are needed to build on Linux.
Cheers,
- Mark
More information about the libdispatch-dev
mailing list