Move pointer declaration before block

Make VS with its C90 rules happy.