Remove C99 for loop initial declaration

Thanks to Matt Aimonetti