kernel32: Remove dead assignments.
This commit is contained in:
parent
507b29a046
commit
9941f846e8
|
@ -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);
|
||||
|
||||
|
|
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue