From db7a3abce41d48de01f987d74847ebb58d25ce54 Mon Sep 17 00:00:00 2001 From: nhmall Date: Fri, 10 Apr 2020 00:29:51 -0400 Subject: [PATCH] Xcode warning of possible uninitialized variables --- src/priest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/priest.c b/src/priest.c index 50ac0127d..1b5bd3824 100644 --- a/src/priest.c +++ b/src/priest.c @@ -232,7 +232,7 @@ boolean sanctum; /* is it the seat of the high priest? */ struct monst *priest; struct obj *otmp; int cnt; - int px, py, i, si = rn2(8); + int px = 0, py = 0, i, si = rn2(8); struct permonst *prim = &mons[sanctum ? PM_HIGH_PRIEST : PM_ALIGNED_PRIEST]; for (i = 0; i < 8; i++) { -- 2.50.1