From: Rick Bird Date: Sun, 3 Apr 2011 03:06:30 +0000 (-0400) Subject: FIX: attribute _(unused)_ used inappropriately on levchk power check X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=2fe52db28bd4c81cc9aecd9751ef21b29b026fcc;p=cobramush.git FIX: attribute _(unused)_ used inappropriately on levchk power check --- 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)); }