From 4dd5e533b10a93a20637961ad2ba22b4195f5767 Mon Sep 17 00:00:00 2001 From: Ken Thomases Date: Wed, 6 Mar 2019 18:54:58 -0600 Subject: [PATCH] kernel32: Remove some duplicate code. Signed-off-by: Ken Thomases Signed-off-by: Alexandre Julliard --- dlls/kernel32/process.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/dlls/kernel32/process.c b/dlls/kernel32/process.c index 89b561ef811..09f0433deb0 100644 --- a/dlls/kernel32/process.c +++ b/dlls/kernel32/process.c @@ -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 8: return BINARY_UNIX_LIB; } - switch(header.macho.filetype) - { - case 2: return BINARY_UNIX_EXE; - case 8: return BINARY_UNIX_LIB; - } } return BINARY_UNKNOWN; }