]> granicus.if.org Git - nethack/commitdiff
remove unused variables
authorcohrs <cohrs>
Sat, 5 Jun 2004 01:57:18 +0000 (01:57 +0000)
committercohrs <cohrs>
Sat, 5 Jun 2004 01:57:18 +0000 (01:57 +0000)
src/artifact.c

index afbe6c6e4312130adfc0d57e79eeb894840e3000..42f18ddcee184d881eb3ce4a473bf9fa7fcc2267 100644 (file)
@@ -1455,7 +1455,6 @@ long *abil;
                {&EPoison_resistance, AD_DRST},
        };
        int k;
-       long adtyp = 0;
 
        for (k = 0; k < SIZE(abil2adtyp); k++) {
                if (abil2adtyp[k].abil == abil)
@@ -1486,7 +1485,6 @@ long *abil;
                {&EReflecting, SPFX_REFLECT},
        };
        int k;
-       long spfx = 0L;
 
        for (k = 0; k < SIZE(abil2spfx); k++) {
                if (abil2spfx[k].abil == abil)