]> granicus.if.org Git - nethack/commitdiff
Remove unused variable
authorPasi Kallinen <paxed@alt.org>
Sat, 2 Sep 2017 12:22:42 +0000 (15:22 +0300)
committerPasi Kallinen <paxed@alt.org>
Sat, 2 Sep 2017 12:22:42 +0000 (15:22 +0300)
src/pickup.c

index 0f63a43bf4d26aaef032587e80e9389600366e08..c100d2ce36d2fea69e3c00b8cc0abe4493e384db 100644 (file)
@@ -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 */