Reduce the scope of some local variables

This commit is contained in:
Paul Cornett
2019-04-05 10:44:02 -07:00
parent af1cf0a5f3
commit fe1737d399
63 changed files with 163 additions and 152 deletions

View File

@@ -584,7 +584,7 @@ extern int g_tab2[];
bool Life::NextTic()
{
LifeCellBox *c, *up, *dn, *lf, *rt;
wxUint32 t1, t2, t3, t4;
wxUint32 t1, t2;
bool changed = false;
m_numcells = 0;
@@ -833,6 +833,7 @@ bool Life::NextTic()
t1 = 0;
t2 = 0;
wxUint32 t3, t4;
t3 = c->m_live1;
c->m_old1 = t3;