srogue: initialize some pointers.
MSVC complained that they might be used uninitialized.
This commit is contained in:
parent
097b315235
commit
dea62ef934
2 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue