mirror of
https://github.com/reactos/reactos.git
synced 2025-07-24 16:53:45 +00:00
- Remove unneeded check and cycle
svn path=/trunk/; revision=42006
This commit is contained in:
parent
91cae70e59
commit
1f53c74091
1 changed files with 3 additions and 5 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue