forked from Mirrors/wine-wine
kernel32: Remove dead assignments.
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,
|
* 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 )
|
||||||
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 );
|
||||||
|
|
Loading…
Reference in New Issue