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
|
|
@ -331,7 +331,7 @@ struct object *cur_weapon;
|
|||
bool back_stab;
|
||||
{
|
||||
register struct stats *att, *def;
|
||||
register char *cp;
|
||||
register char *cp = NULL;
|
||||
register int ndice, nsides, nplus, def_arm;
|
||||
bool did_hit = FALSE;
|
||||
int prop_hplus, prop_dplus;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue