quiet a new warning

src/eat.c(74,46): warning C4132: 'zero_victual': const object should be initialized
This commit is contained in:
nhmall
2023-01-17 19:59:24 -05:00
parent c5cc631b13
commit b0a5c0ee0d

View File

@@ -71,7 +71,7 @@ const char *const hu_stat[] = {
"Fainting", "Fainted ", "Starved "
};
static const struct victual_info zero_victual;
static const struct victual_info zero_victual = { 0 };
/* used by getobj() callback routines eat_ok()/offer_ok()/tin_ok() to
indicate whether player was given an opportunity to eat or offer or