rogue3: initialize various pointers.
MSVC is afraid they might get used while uninitialized.
This commit is contained in:
parent
2d3d25c5e9
commit
00d28d536a
4 changed files with 6 additions and 6 deletions
|
|
@ -162,7 +162,7 @@ chase(struct thing *tp, coord *ee)
|
|||
int x, y;
|
||||
int dist, thisdist;
|
||||
struct linked_list *item;
|
||||
struct object *obj;
|
||||
struct object *obj = NULL;
|
||||
coord *er = &tp->t_pos;
|
||||
int ch;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue