impatomic: silence more clang warnings
authorBrian Norris <banorris@uci.edu>
Wed, 14 Aug 2013 04:51:56 +0000 (21:51 -0700)
committerBrian Norris <banorris@uci.edu>
Wed, 14 Aug 2013 04:51:56 +0000 (21:51 -0700)
commit130a35155171503883aaf18e57f8957ce63d06e8
treefcf37e8157b68db2ea772e06153d8ab55cec4ea4
parent8251cec4d80742ccb111930c6def56448cfcece0
impatomic: silence more clang warnings

These 'return' values produce unused value warnings when the value
returned by _ATOMIC_STORE_, _ATOMIC_INIT_, and _ATOMIC_MODIFY_ aren't
used. Silence these warnings (but leave the ones for _ATOMIC_LOAD_)
because we expect that the result of RMW's or stores may rightly be
discarded in many cases.
include/impatomic.h