projects
/
cobramush.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c5f50a
)
FIX: attribute _(unused)_ used inappropriately on levchk power check
author
Rick Bird
<nveid@bender.theari.com>
Sun, 3 Apr 2011 03:06:30 +0000
(23:06 -0400)
committer
Rick Bird
<nveid@bender.theari.com>
Sun, 3 Apr 2011 03:06:30 +0000
(23:06 -0400)
src/division.c
patch
|
blob
|
history
diff --git
a/src/division.c
b/src/division.c
index 6139875f17f1e3c5587617e43d00fe9c3f0f8723..699e43e90149972b0b946eebd98be696658873c0 100644
(file)
--- 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));
}