Commit 4dd5e533 authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

kernel32: Remove some duplicate code.

parent 994976dc
...@@ -344,11 +344,6 @@ static enum binary_type get_binary_info( HANDLE hfile, pe_image_info_t *info ) ...@@ -344,11 +344,6 @@ static enum binary_type get_binary_info( HANDLE hfile, pe_image_info_t *info )
case 2: return BINARY_UNIX_EXE; case 2: return BINARY_UNIX_EXE;
case 8: return BINARY_UNIX_LIB; case 8: return BINARY_UNIX_LIB;
} }
switch(header.macho.filetype)
{
case 2: return BINARY_UNIX_EXE;
case 8: return BINARY_UNIX_LIB;
}
} }
return BINARY_UNKNOWN; return BINARY_UNKNOWN;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment