From 400c6a2e625197f70326587401b13ab02659682f Mon Sep 17 00:00:00 2001 From: Haru Date: Tue, 11 Mar 2014 02:58:45 +0100 Subject: Fixed some warnings (unused functions) pointed out by clang-5.1. Signed-off-by: Haru --- src/map/status.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/map/status.c') diff --git a/src/map/status.c b/src/map/status.c index f23a48fe0..4a81fcb05 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -1985,7 +1985,9 @@ unsigned short status_base_atk(const struct block_list *bl, const struct status_ return cap_value(str, 0, USHRT_MAX); } +#ifndef RENEWAL static inline unsigned short status_base_matk_min(const struct status_data *st){ return st->int_+(st->int_/7)*(st->int_/7); } +#endif // not RENEWAL static inline unsigned short status_base_matk_max(const struct status_data *st){ return st->int_+(st->int_/5)*(st->int_/5); } unsigned short status_base_matk(const struct status_data *st, int level) { -- cgit v1.2.3-60-g2f50