Commit 1616f0ed authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

oleaut32: Simplify 'for' loop.

Variable 'i' is not used neither in the loop nor at its end. Signed-off-by: 's avatarDmitry Timoshkov <dmitry@baikal.ru> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 137ca91f
......@@ -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. */
for(pBlk = pFirstBlk, order = pHeader->first_blk - 1, i = 0;
for(pBlk = pFirstBlk, order = pHeader->first_blk - 1;
pBlkEntry[order].next != 0;
order = pBlkEntry[order].next - 1, i++) {
order = pBlkEntry[order].next - 1) {
pBlk = (char*)pBlk + pBlkEntry[order].len;
}
pLibBlk = pBlk;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment