There is a declaration of int i above the if (ljust) scope for use with a set of for() loops. However, half the for() loops declare their own int i in the loop itself. Both sets of for() loops should use the int i in the upper scope, or each for() loop should declare int i itself instead of shadowing the variable.
There is a declaration of
int i
above theif (ljust)
scope for use with a set offor()
loops. However, half thefor()
loops declare their ownint i
in the loop itself. Both sets offor()
loops should use theint i
in the upper scope, or eachfor()
loop should declareint i
itself instead of shadowing the variable.