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:
nhmall
2020-10-20 19:37:51 -04:00
parent 566dde8683
commit d1c7f26d4b
2 changed files with 0 additions and 2 deletions

View File

@@ -195,7 +195,6 @@ struct obj *obj; /* aatyp == AT_WEAP, AT_SPIT */
boolean is_you = (mdef == &g.youmonst);
boolean check_visor = FALSE;
struct obj *o;
const char *s;
/* no eyes protect against all attacks for now */
if (!haseyes(mdef->data))

View File

@@ -40,7 +40,6 @@ struct obj *otmp;
struct monst *mtmp;
struct permonst *ptr;
int chance;
const char *s;
if (!u_handsy())
return 0;