kernel32: Remove unused variables.
This commit is contained in:
parent
09d460f422
commit
7d2c11e3a4
|
@ -572,7 +572,7 @@ static HLOCAL16 LOCAL_FreeArena( WORD ds, WORD arena )
|
|||
{
|
||||
char *ptr = MapSL( MAKESEGPTR( ds, 0 ) );
|
||||
LOCALHEAPINFO *pInfo;
|
||||
LOCALARENA *pArena, *pPrev, *pNext;
|
||||
LOCALARENA *pArena, *pPrev;
|
||||
|
||||
TRACE("%04x ds=%04x\n", arena, ds );
|
||||
if (!(pInfo = LOCAL_GetHeap( ds ))) return arena;
|
||||
|
@ -590,7 +590,6 @@ static HLOCAL16 LOCAL_FreeArena( WORD ds, WORD arena )
|
|||
/* Check if we can merge with the previous block */
|
||||
|
||||
pPrev = ARENA_PTR( ptr, pArena->prev & ~3 );
|
||||
pNext = ARENA_PTR( ptr, pArena->next );
|
||||
if ((pPrev->prev & 3) == LOCAL_ARENA_FREE)
|
||||
{
|
||||
arena = pArena->prev & ~3;
|
||||
|
|
|
@ -998,10 +998,8 @@ static HMODULE16 NE_DoLoadBuiltinModule( const IMAGE_DOS_HEADER *mz_header, cons
|
|||
HMODULE16 hModule;
|
||||
HINSTANCE16 hInstance;
|
||||
OSVERSIONINFOW versionInfo;
|
||||
const IMAGE_OS2_HEADER *ne_header;
|
||||
SIZE_T mapping_size = ~0UL; /* assume builtins don't contain invalid offsets... */
|
||||
|
||||
ne_header = (const IMAGE_OS2_HEADER *)((const BYTE *)mz_header + mz_header->e_lfanew);
|
||||
hModule = build_module( mz_header, mapping_size, file_name );
|
||||
if (hModule < 32) return hModule;
|
||||
pModule = GlobalLock16( hModule );
|
||||
|
|
Loading…
Reference in New Issue