Advanced Rogue 7: initialize multiple variables.

MSVC complained that they might be used uninitialized.  In some cases,
this might have been possible.

XRogue already has initializations for all these variables.
This commit is contained in:
John "Elwin" Edwards 2015-08-12 15:42:02 -04:00
parent b41fb230b0
commit 295a180ea1
12 changed files with 23 additions and 23 deletions

View file

@ -62,7 +62,7 @@ register int which;
int flag;
bool is_scroll;
{
register struct object *obj, *nobj;
register struct object *obj = NULL, *nobj;
register struct linked_list *item, *nitem;
register int i,j;
register char ch, nch;