From: Pasi Kallinen Date: Sat, 2 Sep 2017 12:22:42 +0000 (+0300) Subject: Remove unused variable X-Git-Tag: NetHack-3.6.1_RC01~409 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=27b483c1a8c27f326c4bdf33ebf3d73bdaadb61b;p=nethack Remove unused variable --- diff --git a/src/pickup.c b/src/pickup.c index 0f63a43bf..c100d2ce3 100644 --- a/src/pickup.c +++ b/src/pickup.c @@ -840,7 +840,7 @@ menu_item **pick_list; /* return list of items picked */ int how; /* type of query */ boolean FDECL((*allow), (OBJ_P)); /* allow function */ { - int i, n, actualn; + int i, n; winid win; struct obj *curr, *last, fake_hero_object, *olist = *olist_p; char *pack; @@ -859,7 +859,6 @@ boolean FDECL((*allow), (OBJ_P)); /* allow function */ last = curr; n++; } - actualn = n; if (engulfer) { ++n; /* don't autoselect swallowed hero if it's the only choice */