diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-30 01:19:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-30 13:11:34 +0300 |
commit | 6b1684d33dec02eb6308bb3d8d3707f4d5252ba5 (patch) | |
tree | 4a0a5fd220828b92ef96446fe38dbe67ff446c6c /src/localconsts.h | |
parent | 2a70a50c785ce639b76141a3a6887836d22fe12c (diff) | |
download | ManaVerse-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.gz ManaVerse-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.bz2 ManaVerse-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.xz ManaVerse-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.zip |
Add unused warnings to some files.
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__ |