Commit 9941f846 authored by Luca Bennati's avatar Luca Bennati Committed by Alexandre Julliard

kernel32: Remove dead assignments.

parent 507b29a0
...@@ -2276,7 +2276,7 @@ static int write_block(HANDLE hCon, CONSOLE_SCREEN_BUFFER_INFO* csbi, ...@@ -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, * happen if we're asked to overwrite more than twice the part of the line,
* which is unlikely * 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); blk = min(len - done, csbi->dwSize.X - csbi->dwCursorPosition.X);
......
...@@ -864,7 +864,7 @@ static HMODULE load_library( const UNICODE_STRING *libname, DWORD flags ) ...@@ -864,7 +864,7 @@ static HMODULE load_library( const UNICODE_STRING *libname, DWORD flags )
ULONG magic; ULONG magic;
LdrLockLoaderLock( 0, NULL, &magic ); LdrLockLoaderLock( 0, NULL, &magic );
if (!(nts = LdrGetDllHandle( load_path, flags, libname, &hModule ))) if (!LdrGetDllHandle( load_path, flags, libname, &hModule ))
{ {
LdrAddRefDll( 0, hModule ); LdrAddRefDll( 0, hModule );
LdrUnlockLoaderLock( 0, magic ); LdrUnlockLoaderLock( 0, magic );
......
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