Silence some compiler warnings

This commit is contained in:
Pasi Kallinen
2016-06-21 14:14:54 +03:00
parent 9ff069ed19
commit d015cbec15
3 changed files with 3 additions and 3 deletions

View File

@@ -349,7 +349,7 @@ mattacku(mtmp)
register struct monst *mtmp;
{
struct attack *mattk, alt_attk;
int i, j, tmp, sum[NATTK];
int i, j = 0, tmp, sum[NATTK];
struct permonst *mdat = mtmp->data;
boolean ranged = (distu(mtmp->mx, mtmp->my) > 3);
/* Is it near you? Affects your actions */