From: cohrs Date: Mon, 29 Nov 2004 22:50:36 +0000 (+0000) Subject: remove an unused variable X-Git-Tag: MOVE2GIT~1398 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8215976fdb6597832afaa26d47b0bb7b2a009db7;p=nethack remove an unused variable gcc w/warnings whined --- diff --git a/src/dothrow.c b/src/dothrow.c index 7ea090515..ef3495d66 100644 --- a/src/dothrow.c +++ b/src/dothrow.c @@ -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 */