The current test for setting wchar on i386 uses a conditional break and a fallthrough on the x86-64 case. This is not needed and can be simplified by reversing the order of the i386 & x86-64 cases. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> --- target.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/target.c b/target.c index 497ecdc5e..acafbd929 100644 --- a/target.c +++ b/target.c @@ -79,11 +79,11 @@ void init_target(void) } switch (arch_mach) { - case MACH_X86_64: - if (arch_m64 == ARCH_LP64) - break; - /* fall through */ case MACH_I386: + wchar_ctype = &long_ctype; + /* fall through */ + case MACH_X86_64: + break; case MACH_M68K: case MACH_SPARC32: case MACH_PPC32: -- 2.24.0