From b0a5c0ee0d7598acb635906119fcfd7b75477797 Mon Sep 17 00:00:00 2001 From: nhmall Date: Tue, 17 Jan 2023 19:59:24 -0500 Subject: [PATCH] quiet a new warning src/eat.c(74,46): warning C4132: 'zero_victual': const object should be initialized --- src/eat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/eat.c b/src/eat.c index 4534d8117..d1343404e 100644 --- a/src/eat.c +++ b/src/eat.c @@ -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