oleaut32: Simplify 'for' loop.

Variable 'i' is not used neither in the loop nor at its end.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Dmitry Timoshkov 2015-11-30 12:26:33 +08:00 committed by Alexandre Julliard
parent 137ca91f47
commit 1616f0ede9
1 changed files with 2 additions and 2 deletions

View File

@ -4486,9 +4486,9 @@ static ITypeLib2* ITypeLib2_Constructor_SLTG(LPVOID pLib, DWORD dwTLBLength)
/* We'll set up a ptr to the main library block, which is the last one. */ /* We'll set up a ptr to the main library block, which is the last one. */
for(pBlk = pFirstBlk, order = pHeader->first_blk - 1, i = 0; for(pBlk = pFirstBlk, order = pHeader->first_blk - 1;
pBlkEntry[order].next != 0; pBlkEntry[order].next != 0;
order = pBlkEntry[order].next - 1, i++) { order = pBlkEntry[order].next - 1) {
pBlk = (char*)pBlk + pBlkEntry[order].len; pBlk = (char*)pBlk + pBlkEntry[order].len;
} }
pLibBlk = pBlk; pLibBlk = pBlk;