From 2fe52db28bd4c81cc9aecd9751ef21b29b026fcc Mon Sep 17 00:00:00 2001 From: Rick Bird Date: Sat, 2 Apr 2011 23:06:30 -0400 Subject: [PATCH] FIX: attribute _(unused)_ used inappropriately on levchk power check --- src/division.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/division.c b/src/division.c index 6139875..699e43e 100644 --- a/src/division.c +++ b/src/division.c @@ -1137,8 +1137,7 @@ powc_bcreate(int plev __attribute__ ((__unused__)), dbref who, dbref what) /* powc_levchk_lte() {{{3 - FullYes power(like BCreate) but can only be used LTE */ int -powc_levchk_lte(int plev - __attribute__ ((__unused__)), dbref who, dbref what) +powc_levchk_lte(int plev, dbref who, dbref what) { return (LEVEL(who) >= LEVEL(what) || (plev > NO && who == what)); } -- 2.30.2