mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
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:
parent
137ca91f47
commit
1616f0ede9
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue