diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-07-08 15:02:58 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-07-08 15:02:58 +0530 |
commit | 7c33f1e52c7ed39416b24c894e61d39eabf6cd14 (patch) | |
tree | 4f19bb24fde0dfd9cd02bd1e87dd75a42dd6cce0 /localedata/tests-mbwc/dat_wcswidth.c | |
parent | 87868c2418fb74357757e3b739ce5b76b17a8929 (diff) | |
download | glibc-7c33f1e52c7ed39416b24c894e61d39eabf6cd14.tar.gz glibc-7c33f1e52c7ed39416b24c894e61d39eabf6cd14.tar.xz glibc-7c33f1e52c7ed39416b24c894e61d39eabf6cd14.zip |
Fix Wundef warning with SHOJI_IS_RIGHT
The macro is not defined anywhere, so it looks like we're convinced that Shoji is wrong :)
Diffstat (limited to 'localedata/tests-mbwc/dat_wcswidth.c')
-rw-r--r-- | localedata/tests-mbwc/dat_wcswidth.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/localedata/tests-mbwc/dat_wcswidth.c b/localedata/tests-mbwc/dat_wcswidth.c index 68054e797f..c030b3ba2e 100644 --- a/localedata/tests-mbwc/dat_wcswidth.c +++ b/localedata/tests-mbwc/dat_wcswidth.c @@ -56,11 +56,7 @@ TST_WCSWIDTH tst_wcswidth_loc [] = { /*expect*/ { 0,1,-1 }, }, { /*input.*/ { { 0x00C1,0x00A0,0x0000 }, 2 }, /* 16 */ -#ifdef SHOJI_IS_RIGHT - /*expect*/ { 0,1,-1 }, -#else /*expect*/ { 0,1,2 }, -#endif }, { /*input.*/ { { 0x00C1,0x00A1,0x0000 }, 2 }, /* 17 */ /*expect*/ { 0,1,2 }, @@ -89,21 +85,12 @@ TST_WCSWIDTH tst_wcswidth_loc [] = { { /*input.*/ { { 0x0041,0x0042,0x00C3,0x0000 }, 2 }, /* 03 */ /*expect*/ { 0,1,2 }, }, -#ifdef SHOJI_IS_RIGHT - { /*input.*/ { { 0x0041,0x0042,0x00C3,0x0000 }, 3 }, /* 04 */ - /*expect*/ { 0,1,3 }, - }, - { /*input.*/ { { 0x0041,0x0042,0x00C3,0x0000 }, 4 }, /* 05 */ - /*expect*/ { 0,1,3 }, - }, -#else { /*input.*/ { { 0x0041,0x0042,0x00C3,0x0000 }, 3 }, /* 04 */ /*expect*/ { 0,1,-1 }, }, { /*input.*/ { { 0x0041,0x0042,0x0043,0x0000 }, 4 }, /* 05 */ /*expect*/ { 0,1,3 }, }, -#endif { /*input.*/ { { 0x0000 }, 1 }, /* 06 */ /*expect*/ { 0,1,0 }, }, @@ -137,21 +124,12 @@ TST_WCSWIDTH tst_wcswidth_loc [] = { { /*input.*/ { { 0x0041,0x00A0,0x0000 }, 2 }, /* 16 */ /*expect*/ { 0,1,-1 }, }, -#ifdef SHOJI_IS_RIGHT - { /*input.*/ { { 0x0041,0x00A1,0x0000 }, 2 }, /* 17 */ - /*expect*/ { 0,1,2 }, - }, - { /*input.*/ { { 0x0041,0x00FF,0x0000 }, 2 }, /* 18 */ - /*expect*/ { 0,1,2 }, - }, -#else { /*input.*/ { { 0x0041,0x007E,0x0000 }, 2 }, /* 17 */ /*expect*/ { 0,1,2 }, }, { /*input.*/ { { 0x0041,0x0020,0x0000 }, 2 }, /* 18 */ /*expect*/ { 0,1,2 }, }, -#endif { /*input.*/ { { 0x0041,0x3042,0x0000 }, 2 }, /* 19 */ /*expect*/ { 0,1,-1 }, }, |