clear pair of warnings re: not initialized
This commit is contained in:
+2
-2
@@ -104,7 +104,7 @@ obj_to_any(struct obj *obj)
|
|||||||
boolean
|
boolean
|
||||||
revive_nasty(coordxy x, coordxy y, const char *msg)
|
revive_nasty(coordxy x, coordxy y, const char *msg)
|
||||||
{
|
{
|
||||||
struct obj *otmp, *otmp2;
|
struct obj *otmp = 0, *otmp2 = 0;
|
||||||
struct monst *mtmp;
|
struct monst *mtmp;
|
||||||
coord cc;
|
coord cc;
|
||||||
boolean revived = FALSE;
|
boolean revived = FALSE;
|
||||||
@@ -3379,7 +3379,7 @@ char *
|
|||||||
in_rooms(coordxy x, coordxy y, int typewanted)
|
in_rooms(coordxy x, coordxy y, int typewanted)
|
||||||
{
|
{
|
||||||
static char buf[5];
|
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;
|
int typefound, min_x, min_y, max_x, max_y_offset, step;
|
||||||
struct rm *lev;
|
struct rm *lev;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user