Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
01ee1418
Commit
01ee1418
authored
Oct 27, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedump: Avoid some dead code.
parent
da6c01be
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
dump.c
tools/winedump/dump.c
+2
-6
No files found.
tools/winedump/dump.c
View file @
01ee1418
...
@@ -248,16 +248,12 @@ int dump_analysis(const char *name, file_dumper fn, enum FileSig wanted_sig)
...
@@ -248,16 +248,12 @@ int dump_analysis(const char *name, file_dumper fn, enum FileSig wanted_sig)
effective_sig
=
check_headers
();
effective_sig
=
check_headers
();
if
(
effective_sig
==
SIG_UNKNOWN
)
if
(
wanted_sig
==
SIG_UNKNOWN
||
wanted_sig
==
effective_sig
)
{
printf
(
"Can't get a recognized file signature, aborting
\n
"
);
ret
=
0
;
}
else
if
(
wanted_sig
==
SIG_UNKNOWN
||
wanted_sig
==
effective_sig
)
{
{
switch
(
effective_sig
)
switch
(
effective_sig
)
{
{
case
SIG_UNKNOWN
:
/* shouldn't happen... */
case
SIG_UNKNOWN
:
/* shouldn't happen... */
printf
(
"Can't get a recognized file signature, aborting
\n
"
);
ret
=
0
;
break
;
ret
=
0
;
break
;
case
SIG_PE
:
case
SIG_PE
:
case
SIG_NE
:
case
SIG_NE
:
...
...
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