diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-03-28 14:40:55 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-03-31 08:38:35 -0300 |
commit | d1eefcb2a0e49465f49ff26ecb9bb2435c0e63fb (patch) | |
tree | 49b2a019350457df3cf2a84074ec670b959e1ee3 /localedata/tests-mbwc/tst_wcsxfrm.c | |
parent | 244b415d386487521882debb845a040a4758cb18 (diff) | |
download | glibc-d1eefcb2a0e49465f49ff26ecb9bb2435c0e63fb.tar glibc-d1eefcb2a0e49465f49ff26ecb9bb2435c0e63fb.tar.gz glibc-d1eefcb2a0e49465f49ff26ecb9bb2435c0e63fb.tar.bz2 glibc-d1eefcb2a0e49465f49ff26ecb9bb2435c0e63fb.zip |
localedata: Remove unused variables in tests
Checked on x86_64-linux-gnu and i686-linux-gnu.
Diffstat (limited to 'localedata/tests-mbwc/tst_wcsxfrm.c')
-rw-r--r-- | localedata/tests-mbwc/tst_wcsxfrm.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/localedata/tests-mbwc/tst_wcsxfrm.c b/localedata/tests-mbwc/tst_wcsxfrm.c index 6fb8a1c28d..ce22844a54 100644 --- a/localedata/tests-mbwc/tst_wcsxfrm.c +++ b/localedata/tests-mbwc/tst_wcsxfrm.c @@ -28,7 +28,6 @@ tst_wcsxfrm (FILE * fp, int debug_flg) n2 = TST_INPUT (wcsxfrm).n2; if (n1 < 0 || sizeof (frm1) < n1 || sizeof (frm2) < n2) { - warn_count++; Result (C_IGNORED, S_WCSXFRM, CASE_9, "input data n1 or n2 is invalid"); continue; @@ -52,7 +51,6 @@ tst_wcsxfrm (FILE * fp, int debug_flg) if (ret == -1 || ret >= n1 || errno_save != 0) { - warn_count++; Result (C_INVALID, S_WCSXFRM, CASE_8, "got an error in fist wcsxfrm() call"); continue; @@ -70,7 +68,6 @@ tst_wcsxfrm (FILE * fp, int debug_flg) if (n2 == 0 || ret >= n2 || errno != 0) { #if 0 - warn_count++; Result (C_IGNORED, S_WCSXFRM, CASE_7, "did not get a result"); #endif continue; @@ -89,7 +86,6 @@ tst_wcsxfrm (FILE * fp, int debug_flg) if (errno != 0) /* bugs * bugs may got correct results ... */ { - warn_count++; Result (C_INVALID, S_WCSXFRM, CASE_6, "got an error in wcscoll() call"); continue; |