mirror of
https://github.com/reactos/reactos.git
synced 2024-08-20 02:13:29 +00:00
- Remove unneeded check and cycle
svn path=/trunk/; revision=42006
This commit is contained in:
parent
91cae70e59
commit
1f53c74091
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue