diff options
Diffstat (limited to 'src/localconsts.h')
-rw-r--r-- | src/localconsts.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/localconsts.h b/src/localconsts.h index 5bc4c6fb3..7db758697 100644 --- a/src/localconsts.h +++ b/src/localconsts.h @@ -44,8 +44,10 @@ #ifdef __GNUC__ #define A_UNUSED __attribute__ ((unused)) +#define A_WARN_UNUSED __attribute__ ((warn_unused_result)) #else #define A_UNUSED +#define A_WARN_UNUSED #define gnu_printf printf #endif #ifdef __clang__ |