mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
winedump: Avoid some dead code.
This commit is contained in:
parent
da6c01bea0
commit
01ee1418d6
1 changed files with 2 additions and 6 deletions
|
@ -248,16 +248,12 @@ int dump_analysis(const char *name, file_dumper fn, enum FileSig wanted_sig)
|
|||
|
||||
effective_sig = check_headers();
|
||||
|
||||
if (effective_sig == SIG_UNKNOWN)
|
||||
{
|
||||
printf("Can't get a recognized file signature, aborting\n");
|
||||
ret = 0;
|
||||
}
|
||||
else if (wanted_sig == SIG_UNKNOWN || wanted_sig == effective_sig)
|
||||
if (wanted_sig == SIG_UNKNOWN || wanted_sig == effective_sig)
|
||||
{
|
||||
switch (effective_sig)
|
||||
{
|
||||
case SIG_UNKNOWN: /* shouldn't happen... */
|
||||
printf("Can't get a recognized file signature, aborting\n");
|
||||
ret = 0; break;
|
||||
case SIG_PE:
|
||||
case SIG_NE:
|
||||
|
|
Loading…
Reference in a new issue