Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
279339a6
Commit
279339a6
authored
Aug 21, 2009
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
loader: Remove unused variables.
parent
549bc47d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
libs/loader/pe_image.c
libs/loader/pe_image.c
+1
-6
No files found.
libs/loader/pe_image.c
View file @
279339a6
...
...
@@ -302,7 +302,6 @@ static DWORD fixup_imports( WINE_MODREF *wm )
*/
for
(
i
=
0
,
pe_imp
=
pem
->
pe_import
;
pe_imp
->
Name
;
pe_imp
++
)
{
WINE_MODREF
*
wmImp
;
IMAGE_IMPORT_BY_NAME
*
pe_name
;
PIMAGE_THUNK_DATA
import_list
,
thunk_list
;
char
*
name
=
(
char
*
)
RVA
(
pe_imp
->
Name
);
...
...
@@ -451,13 +450,13 @@ static void do_relocations( unsigned int load_addr, IMAGE_BASE_RELOCATION *r )
*/
HMODULE
PE_LoadImage
(
int
handle
,
LPCSTR
filename
,
WORD
*
version
)
{
(
void
)
filename
;
HMODULE
hModule
;
HANDLE
mapping
;
IMAGE_NT_HEADERS
*
nt
;
IMAGE_SECTION_HEADER
*
pe_sec
;
IMAGE_DATA_DIRECTORY
*
dir
;
BY_HANDLE_FILE_INFORMATION
bhfi
;
int
i
,
rawsize
,
lowest_va
,
vma_size
,
file_size
=
0
;
DWORD
load_addr
=
0
,
aoep
,
reloc
=
0
;
// struct get_read_fd_request *req = get_req_buffer();
...
...
@@ -717,10 +716,6 @@ WINE_MODREF *PE_CreateModule( HMODULE hModule,
IMAGE_EXPORT_DIRECTORY
*
pe_export
=
NULL
;
IMAGE_RESOURCE_DIRECTORY
*
pe_resource
=
NULL
;
WINE_MODREF
*
wm
;
int
result
;
dir
=
nt
->
OptionalHeader
.
DataDirectory
+
IMAGE_DIRECTORY_ENTRY_EXPORT
;
if
(
dir
->
Size
)
...
...
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