about summary refs log tree commit diff
path: root/localedata/tests-mbwc/tst_strxfrm.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-03-28 14:40:55 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-03-31 08:38:35 -0300
commitd1eefcb2a0e49465f49ff26ecb9bb2435c0e63fb (patch)
tree49b2a019350457df3cf2a84074ec670b959e1ee3 /localedata/tests-mbwc/tst_strxfrm.c
parent244b415d386487521882debb845a040a4758cb18 (diff)
downloadglibc-d1eefcb2a0e49465f49ff26ecb9bb2435c0e63fb.tar.gz
glibc-d1eefcb2a0e49465f49ff26ecb9bb2435c0e63fb.tar.xz
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_strxfrm.c')
-rw-r--r--localedata/tests-mbwc/tst_strxfrm.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/localedata/tests-mbwc/tst_strxfrm.c b/localedata/tests-mbwc/tst_strxfrm.c
index fdfeffc892..837ee8c947 100644
--- a/localedata/tests-mbwc/tst_strxfrm.c
+++ b/localedata/tests-mbwc/tst_strxfrm.c
@@ -30,7 +30,6 @@ tst_strxfrm (FILE * fp, int debug_flg)
 
       if (n1 < 0 || sizeof (frm1) < n1 || sizeof (frm2) < n2)
 	{
-	  warn_count++;
 	  Result (C_IGNORED, S_STRXFRM, CASE_9,
 		  "input data n1 or n2 is invalid");
 	  continue;
@@ -60,7 +59,6 @@ tst_strxfrm (FILE * fp, int debug_flg)
 
       if (ret >= n1 || errno != 0)
 	{
-	  warn_count++;
 	  Result (C_INVALID, S_STRXFRM, CASE_8,
 		  "got an error in fist strxfrm() call");
 	  continue;
@@ -103,7 +101,6 @@ tst_strxfrm (FILE * fp, int debug_flg)
       if (errno != 0)
 	{
 	  /* bug * bug may get correct results ...	  */
-	  warn_count++;
 	  Result (C_INVALID, S_STRXFRM, CASE_6,
 		  "got an error in strcoll() call");
 	  continue;