Fix badly-placed variable declarations in InitAndReconfig(). #4453