kernel32: Remove dead assignments.

This commit is contained in:
Luca Bennati 2010-09-18 15:26:05 +02:00 committed by Alexandre Julliard
parent 507b29a046
commit 9941f846e8
2 changed files with 2 additions and 2 deletions

View File

@ -2276,7 +2276,7 @@ static int write_block(HANDLE hCon, CONSOLE_SCREEN_BUFFER_INFO* csbi,
* happen if we're asked to overwrite more than twice the part of the line,
* which is unlikely
*/
for (blk = done = 0; done < len; done += blk)
for (done = 0; done < len; done += blk)
{
blk = min(len - done, csbi->dwSize.X - csbi->dwCursorPosition.X);

View File

@ -864,7 +864,7 @@ static HMODULE load_library( const UNICODE_STRING *libname, DWORD flags )
ULONG magic;
LdrLockLoaderLock( 0, NULL, &magic );
if (!(nts = LdrGetDllHandle( load_path, flags, libname, &hModule )))
if (!LdrGetDllHandle( load_path, flags, libname, &hModule ))
{
LdrAddRefDll( 0, hModule );
LdrUnlockLoaderLock( 0, magic );