clear pair of warnings re: not initialized
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user