Revert "WaE: "HAVE_GCC_ATTRIBUTE_WARN_UNUSED" is not defined"

Nope, that caused warning: unknown attribute 'warn_unused' ignored with Clang.

This reverts commit 68c8dcec1f.
This commit is contained in:
Tor Lillqvist
2013-07-23 15:08:56 +03:00
parent 68c8dcec1f
commit 2fbcff579b

View File

@@ -555,7 +555,7 @@ template< typename T1, typename T2 > inline T1 static_int_cast(T2 n) {
*/
#if defined HAVE_GCC_ATTRIBUTE_WARN_UNUSED
#if HAVE_GCC_ATTRIBUTE_WARN_UNUSED
#define SAL_WARN_UNUSED __attribute__((warn_unused))
#elif defined __clang__
#define SAL_WARN_UNUSED __attribute__((annotate("lo_warn_unused")))