diff --git a/src/pickup.c b/src/pickup.c index efa8027ca..0e18ea913 100644 --- a/src/pickup.c +++ b/src/pickup.c @@ -2982,7 +2982,7 @@ menu_loot(int retry, boolean put_in) struct obj *otmp, *otmp2; menu_item *pick_list; int mflags, res; - long count; + long count = 0; if (retry) { all_categories = (retry == -2);