From d1cd20998f168a21fabfb4b9e9c3c45f717105cb Mon Sep 17 00:00:00 2001 From: Bart House Date: Tue, 20 Nov 2018 10:27:35 -0800 Subject: [PATCH] Added initialization if ilet to quite compiler warnings. --- src/invent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/invent.c b/src/invent.c index 2a52cda32..718e1feb5 100644 --- a/src/invent.c +++ b/src/invent.c @@ -1380,7 +1380,7 @@ getobj(let, word) register const char *let, *word; { register struct obj *otmp; - register char ilet; + register char ilet = 0; char buf[BUFSZ], qbuf[QBUFSZ]; char lets[BUFSZ], altlets[BUFSZ], *ap; register int foo = 0; -- 2.40.0