Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
7d2c11e3
Commit
7d2c11e3
authored
Apr 19, 2008
by
Andrew Talbot
Committed by
Alexandre Julliard
Apr 21, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Remove unused variables.
parent
09d460f4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
local16.c
dlls/kernel32/local16.c
+1
-2
ne_module.c
dlls/kernel32/ne_module.c
+0
-2
No files found.
dlls/kernel32/local16.c
View file @
7d2c11e3
...
...
@@ -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
;
...
...
dlls/kernel32/ne_module.c
View file @
7d2c11e3
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment