From 14929f797d0208d00bfd7c10961c29b993334b79 Mon Sep 17 00:00:00 2001 From: nhmall Date: Fri, 10 Jan 2020 15:10:47 -0500 Subject: [PATCH] silence a warning about use of potentially uninitialized variable --- src/apply.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apply.c b/src/apply.c index fad2265a9..79da1130d 100644 --- a/src/apply.c +++ b/src/apply.c @@ -3520,7 +3520,7 @@ char class_list[]; knowoil = objects[POT_OIL].oc_name_known; knowtouchstone = objects[TOUCHSTONE].oc_name_known; - addpotions = addstones = addfood = FALSE; + addpotions = addstones = addfood = addspellbooks = FALSE; for (otmp = g.invent; otmp; otmp = otmp->nobj) { otyp = otmp->otyp; if (otyp == POT_OIL