Avoid the C99-only feature of declaring a variable as part of a for statement.