Mercurial > hg > early-roguelike
comparison rogue3/move.c @ 180:d9e44e18eeec
rogue3: initialize various pointers.
MSVC is afraid they might get used while uninitialized.
author | John "Elwin" Edwards |
---|---|
date | Fri, 31 Jul 2015 15:34:34 -0400 |
parents | 527e2150eaf0 |
children |
comparison
equal
deleted
inserted
replaced
172:c199a15a2c70 | 180:d9e44e18eeec |
---|---|
337 { | 337 { |
338 int x, y; | 338 int x, y; |
339 int ch; | 339 int ch; |
340 int ex, ey, nopen = 0; | 340 int ex, ey, nopen = 0; |
341 struct linked_list *item; | 341 struct linked_list *item; |
342 struct object *obj; | 342 struct object *obj = NULL; |
343 static coord ret; /* what we will be returning */ | 343 static coord ret; /* what we will be returning */ |
344 static coord dest; | 344 static coord dest; |
345 | 345 |
346 ret = who->t_pos; | 346 ret = who->t_pos; |
347 /* | 347 /* |