Init variable just in case

This commit is contained in:
Pasi Kallinen
2022-01-01 16:58:34 +02:00
parent 0f132470c7
commit 1cc31f3cba

View File

@@ -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;