Avoid C99 variable declarations within for statements.