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

@ -239,7 +239,7 @@ m_breathe(tp)
register struct thing *tp;
{
register int damage;
register char *breath;
register char *breath = "";
damage = tp->t_stats.s_hpt;
turn_off(*tp, CANSURPRISE);
@ -783,7 +783,7 @@ runners(segments)
int segments; /* Number of segments since last called */
{
register struct linked_list *item;
register struct thing *tp;
register struct thing *tp = NULL;
register min_time = 20; /* Minimum time until a monster can act */
/*