diff --git a/src/hack.c b/src/hack.c index 1f0873a79..89c153746 100644 --- a/src/hack.c +++ b/src/hack.c @@ -104,7 +104,7 @@ obj_to_any(struct obj *obj) boolean revive_nasty(coordxy x, coordxy y, const char *msg) { - struct obj *otmp, *otmp2; + struct obj *otmp = 0, *otmp2 = 0; struct monst *mtmp; coord cc; boolean revived = FALSE; @@ -3379,7 +3379,7 @@ char * in_rooms(coordxy x, coordxy y, int typewanted) { static char buf[5]; - char rno, *ptr = &buf[4]; + char rno = 0, *ptr = &buf[4]; int typefound, min_x, min_y, max_x, max_y_offset, step; struct rm *lev;