From d486270ec922ec2829cef673bbef6dce121b7b1c Mon Sep 17 00:00:00 2001 From: nhmall Date: Tue, 10 May 2022 21:10:02 -0400 Subject: [PATCH] warning fix --- src/apply.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apply.c b/src/apply.c index 24bdb93aa..80d156939 100644 --- a/src/apply.c +++ b/src/apply.c @@ -492,7 +492,7 @@ static void magic_whistled(struct obj *obj) { struct monst *mtmp, *nextmon; - char buf[BUFSZ], *mnam, + char buf[BUFSZ], *mnam = 0, shiftbuf[BUFSZ + sizeof "shifts location"], appearbuf[BUFSZ + sizeof "appears"], disappearbuf[BUFSZ + sizeof "disappears"]; -- 2.50.1