]> granicus.if.org Git - nethack/commitdiff
remove an unused variable
authorcohrs <cohrs>
Mon, 29 Nov 2004 22:50:36 +0000 (22:50 +0000)
committercohrs <cohrs>
Mon, 29 Nov 2004 22:50:36 +0000 (22:50 +0000)
gcc w/warnings whined

src/dothrow.c

index 7ea0905157422d7e9195c2f49c54bb9bcb0e3ad6..ef3495d668e3bfda86f5e295367a3f84172bd248 100644 (file)
@@ -756,7 +756,7 @@ boolean hitsroof;
     if (obj->oclass == POTION_CLASS) {
        potionhit(&youmonst, obj, TRUE);
     } else if (breaktest(obj)) {
-       int otyp = obj->otyp, ocorpsenm = obj->corpsenm;
+       int otyp = obj->otyp;
        int blindinc;
 
        /* need to check for blindness result prior to destroying obj */