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:
parent
b41fb230b0
commit
295a180ea1
12 changed files with 23 additions and 23 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue