From 7c33f1e52c7ed39416b24c894e61d39eabf6cd14 Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Tue, 8 Jul 2014 15:02:58 +0530 Subject: Fix Wundef warning with SHOJI_IS_RIGHT The macro is not defined anywhere, so it looks like we're convinced that Shoji is wrong :) --- localedata/tests-mbwc/dat_wcwidth.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'localedata/tests-mbwc/dat_wcwidth.c') diff --git a/localedata/tests-mbwc/dat_wcwidth.c b/localedata/tests-mbwc/dat_wcwidth.c index e50d963830..ec667813e2 100644 --- a/localedata/tests-mbwc/dat_wcwidth.c +++ b/localedata/tests-mbwc/dat_wcwidth.c @@ -28,16 +28,9 @@ TST_WCWIDTH tst_wcwidth_loc [] = { { /*inp*/ { 0x00C1 }, /* #06 */ /*exp*/ { 0, 1,1, }, }, -#ifdef SHOJI_IS_RIGHT - /* */ /* CHECK : wint_t */ - { /*inp*/ { 0x3041 }, /* #07 */ - /*exp*/ { 0, 1,0, }, - }, -#else { /*inp*/ { 0x3041 }, /* #07 */ /*exp*/ { 0, 1,EOF, }, }, -#endif { .is_last = 1 } } }, @@ -83,17 +76,10 @@ TST_WCWIDTH tst_wcwidth_loc [] = { { /*inp*/ { 0x0080 }, /* #04 */ /*exp*/ { 0, 1,-1, }, }, -#ifdef SHOJI_IS_RIGHT - /* */ - { /*inp*/ { 0x00A1 }, /* #05 */ - /*exp*/ { 0, 1,0, }, - }, -#else /* XXX U00A1 is a valid character in EUC-JP. */ { /*inp*/ { 0x00A1 }, /* #05 */ /*exp*/ { 0, 1,2, }, }, -#endif /* jisx0212 */ { /*inp*/ { 0x00C1 }, /* #06 */ /*exp*/ { 0, 1,2, }, -- cgit v1.2.3