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_swscanf.c | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'localedata/tests-mbwc/dat_swscanf.c') diff --git a/localedata/tests-mbwc/dat_swscanf.c b/localedata/tests-mbwc/dat_swscanf.c index 08fd2d508c..7f6583222a 100644 --- a/localedata/tests-mbwc/dat_swscanf.c +++ b/localedata/tests-mbwc/dat_swscanf.c @@ -61,13 +61,8 @@ TST_SWSCANF tst_swscanf_loc [] = }, L"1%d:2%d:3%d:4%d:5%d:6%d:7%d:8%d:9%d", 0 }, -#ifdef SHOJI_IS_RIGHT - { 1,EINVAL,1,WEOF, - 0,0,0,0,"", { 0x0000 }, -#else { 0,1,0, 0,0,0,0,"", { 0x0000 }, -#endif }, }, /*---------------------------------------------------*/ @@ -155,22 +150,6 @@ TST_SWSCANF tst_swscanf_loc [] = 0, 1, 3.9, 'a', "cd", { 0x0000 } }, }, -#ifdef SHOJI_IS_RIGHT - /* XXX This test does not make sense. The format string is - L"\x1\x2\x25\x53" and it is supposed to match the words - 0x30A2, 0x30A4, 0x0001. */ - /*------------------------ 04 -----------------------*/ - /* x 2 */ - { { { - 0x30A2, 0x30A4, 0x0001, 0x0000 - }, - { 0x0001,0x0002,0x0025,0x0053,0x0000 }, 'S' - }, - { EILSEQ,1,EOF, - 0,0,0,0,"", { 0x0000 } - }, - }, -#endif /*---------------------------------------------------*/ { .is_last = 1} /* Last element. */ } -- cgit 1.4.1