From 274984480c06c40eeb12e949d9bfcfd351ccbd45 Mon Sep 17 00:00:00 2001 From: nhmall Date: Thu, 10 Mar 2022 09:15:04 -0500 Subject: [PATCH] warning fix artifact.c src/artifact.c(65): warning C4132: 'zero_artiexist': const object should be initialized --- src/artifact.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/artifact.c b/src/artifact.c index 3aab1b5b7..7ef079dab 100644 --- a/src/artifact.c +++ b/src/artifact.c @@ -62,7 +62,7 @@ static xchar artidisco[NROFARTIFACTS]; * bulk re-init if game restart ever gets implemented. They are saved * and restored but that is done through this file so they can be local. */ -static const struct arti_info zero_artiexist; /* all bits zero */ +static const struct arti_info zero_artiexist = {0}; /* all bits zero */ static void hack_artifacts(void); static boolean attacks(int, struct obj *);