From: Pasi Kallinen Date: Sun, 10 Jan 2016 08:09:56 +0000 (+0200) Subject: Add missing variable init X-Git-Tag: NetHack-3.6.1_RC01~1048 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=653f75edc1ee8a6cafd43f7f0a4c131d24bc54c7;p=nethack Add missing variable init --- diff --git a/src/wizard.c b/src/wizard.c index 830aa0a60..57d4d6cbe 100644 --- a/src/wizard.c +++ b/src/wizard.c @@ -348,7 +348,7 @@ tactics(mtmp) register struct monst *mtmp; { unsigned long strat = strategy(mtmp); - xchar sx, sy; + xchar sx = 0, sy = 0; mtmp->mstrategy = (mtmp->mstrategy & (STRAT_WAITMASK | STRAT_APPEARMSG)) | strat;