From 1cc31f3cba6367a7ef5b14ea89ecf7dbd8833360 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Sat, 1 Jan 2022 16:58:34 +0200 Subject: [PATCH] Init variable just in case --- src/pickup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pickup.c b/src/pickup.c index 545212d6c..dfaa5e09f 100644 --- a/src/pickup.c +++ b/src/pickup.c @@ -3371,7 +3371,7 @@ tipcontainer(struct obj *box) /* or bag */ xchar ox = u.ux, oy = u.uy; /* #tip only works at hero's location */ boolean empty_it = TRUE, maybeshopgoods; struct obj *targetbox = (struct obj *) 0; - boolean cancelled; + boolean cancelled = FALSE; /* box is either held or on floor at hero's spot; no need to check for nesting; when held, we need to update its location to match hero's;