Fix some warnings

Yes, because it may be used, depending on the situation. Check out `$uniform_ars`, `$block_arms` and `$texture_arms`. This are generated by gen_arms, which might use `i` in line 92.