Avoid passing an uninitialized 'i'. Currently nothing was depending on it anyhow.
Coverity CID: 1331562