srogue: initialize some pointers.

MSVC complained that they might be used uninitialized.
This commit is contained in:
John "Elwin" Edwards 2015-08-01 21:23:55 -04:00
parent 097b315235
commit dea62ef934
2 changed files with 4 additions and 4 deletions

View file

@ -24,7 +24,7 @@
do_passages()
{
reg struct rdes *r1, *r2;
reg struct rdes *r1, *r2 = NULL;
reg int i, j;
reg int roomcount;
static struct rdes {
@ -126,7 +126,7 @@ do_passages()
conn(r1, r2)
int r1, r2;
{
reg struct room *rpf, *rpt;
reg struct room *rpf, *rpt = NULL;
reg char rmt, direc;
reg int distance, turn_spot, turn_distance, rm;
struct coord curr, turn_delta, spos, epos;