summaryrefslogtreecommitdiff
path: root/src/gamemodifiers.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-26 00:41:35 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-26 00:41:35 +0300
commit5344dc6cd9156a9b67da834c9b5b4be00a62992a (patch)
treee71a20fbc231ccec6e53a718758eea447cfc7069 /src/gamemodifiers.h
parent02822f84a25b261f02f5928a6cbefe103cd9491e (diff)
downloadmanaplus-5344dc6cd9156a9b67da834c9b5b4be00a62992a.tar.gz
manaplus-5344dc6cd9156a9b67da834c9b5b4be00a62992a.tar.bz2
manaplus-5344dc6cd9156a9b67da834c9b5b4be00a62992a.tar.xz
manaplus-5344dc6cd9156a9b67da834c9b5b4be00a62992a.zip
Add missing checks into other files.
Diffstat (limited to 'src/gamemodifiers.h')
-rw-r--r--src/gamemodifiers.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gamemodifiers.h b/src/gamemodifiers.h
index 6859018cc..cc9503987 100644
--- a/src/gamemodifiers.h
+++ b/src/gamemodifiers.h
@@ -69,7 +69,8 @@ class GameModifiers final
protected:
static const char *getVarItem(const char *const *const arr,
const unsigned index,
- const unsigned sz) A_WARN_UNUSED;
+ const unsigned sz)
+ A_WARN_UNUSED A_NONNULL(1);
};
#undef declModifier