mirror of
https://github.com/reactos/reactos.git
synced 2025-07-27 14:43:35 +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))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
SetLastError( RtlNtStatusToDosError( Status ) );
|
SetLastErrorByStatus(Status);
|
||||||
fnExp = NULL;
|
fnExp = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -388,10 +388,8 @@ FreeLibraryAndExitThread (
|
||||||
DWORD dwExitCode
|
DWORD dwExitCode
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
if ( FreeLibrary(hLibModule) )
|
FreeLibrary(hLibModule);
|
||||||
ExitThread(dwExitCode);
|
ExitThread(dwExitCode);
|
||||||
for (;;)
|
|
||||||
;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue