- Remove unneeded check and cycle

svn path=/trunk/; revision=42006
This commit is contained in:
Dmitry Chapyshev 2009-07-17 17:53:37 +00:00
parent 91cae70e59
commit 1f53c74091

View file

@ -335,7 +335,7 @@ GetProcAddress( HMODULE hModule, LPCSTR lpProcName )
if (!NT_SUCCESS(Status))
{
SetLastError( RtlNtStatusToDosError( Status ) );
SetLastErrorByStatus(Status);
fnExp = NULL;
}
@ -388,10 +388,8 @@ FreeLibraryAndExitThread (
DWORD dwExitCode
)
{
if ( FreeLibrary(hLibModule) )
ExitThread(dwExitCode);
for (;;)
;
FreeLibrary(hLibModule);
ExitThread(dwExitCode);
}