silence a warning about use of potentially uninitialized variable

This commit is contained in:
nhmall
2020-01-10 15:10:47 -05:00
parent a4e80fa9b4
commit 14929f797d

View File

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