From: cohrs Date: Sun, 23 Nov 2003 20:54:41 +0000 (+0000) Subject: unused variables X-Git-Tag: MOVE2GIT~1565 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5993a8fdc7998b369739adc31b21d63f444e9f65;p=nethack unused variables remove unused variables gcc warned about --- diff --git a/src/monmove.c b/src/monmove.c index 282a1fa4b..3035c52ce 100644 --- a/src/monmove.c +++ b/src/monmove.c @@ -1370,7 +1370,6 @@ undesirable_disp(mtmp, x, y) struct monst *mtmp; xchar x,y; { - struct permonst *mdat = mtmp->data; boolean is_pet = (mtmp && mtmp->mtame && !mtmp->isminion); struct trap *trap = t_at(x,y); diff --git a/src/options.c b/src/options.c index a0d51c899..354d1cf72 100644 --- a/src/options.c +++ b/src/options.c @@ -3186,7 +3186,6 @@ const char *mapping; { struct autopickup_exception *ape, **apehead; char text[256], *text2; - static int allocsize = 0; int textsize = 0; boolean grab = FALSE;