clear a couple of new warnings
mondata.c:198:17: warning: unused variable 's' [-Wunused-variable]
const char *s;
^
1 warning generated.
steed.c:43:17: warning: unused variable 's' [-Wunused-variable]
const char *s;
^
1 warning generated.
This commit is contained in:
@@ -195,7 +195,6 @@ struct obj *obj; /* aatyp == AT_WEAP, AT_SPIT */
|
|||||||
boolean is_you = (mdef == &g.youmonst);
|
boolean is_you = (mdef == &g.youmonst);
|
||||||
boolean check_visor = FALSE;
|
boolean check_visor = FALSE;
|
||||||
struct obj *o;
|
struct obj *o;
|
||||||
const char *s;
|
|
||||||
|
|
||||||
/* no eyes protect against all attacks for now */
|
/* no eyes protect against all attacks for now */
|
||||||
if (!haseyes(mdef->data))
|
if (!haseyes(mdef->data))
|
||||||
|
|||||||
@@ -40,7 +40,6 @@ struct obj *otmp;
|
|||||||
struct monst *mtmp;
|
struct monst *mtmp;
|
||||||
struct permonst *ptr;
|
struct permonst *ptr;
|
||||||
int chance;
|
int chance;
|
||||||
const char *s;
|
|
||||||
|
|
||||||
if (!u_handsy())
|
if (!u_handsy())
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user