rogue3: initialize various pointers.

MSVC is afraid they might get used while uninitialized.
This commit is contained in:
John "Elwin" Edwards 2015-07-31 15:34:34 -04:00
parent 2d3d25c5e9
commit 00d28d536a
4 changed files with 6 additions and 6 deletions

View file

@ -22,7 +22,7 @@
void
do_passages()
{
struct rdes *r1, *r2;
struct rdes *r1, *r2 = NULL;
int i, j;
int roomcount;
static struct rdes
@ -131,7 +131,7 @@ do_passages()
void
conn(int r1, int r2)
{
struct room *rpf, *rpt;
struct room *rpf, *rpt = NULL;
int rmt;
int distance, turn_spot, turn_distance;
int rm;