]> granicus.if.org Git - nethack/commitdiff
unused variables
authorcohrs <cohrs>
Sun, 23 Nov 2003 20:54:41 +0000 (20:54 +0000)
committercohrs <cohrs>
Sun, 23 Nov 2003 20:54:41 +0000 (20:54 +0000)
remove unused variables gcc warned about

src/monmove.c
src/options.c

index 282a1fa4bb16c519c166c3da6301884b9d38bbc8..3035c52ce62c3aee4494a235a6520d8876a91ba4 100644 (file)
@@ -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);
 
index a0d51c899d261d02ffc54ad932c40d7a371d0cb6..354d1cf728739b5479e4a8abd3f4dbe178e88a0c 100644 (file)
@@ -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;