25845f
commit d540fc8a66507bbbdc7e6594872786527c7667fa
25845f
Author: Ondřej Bílka <neleai@seznam.cz>
25845f
Date:   Mon Nov 18 13:12:29 2013 +0100
25845f
25845f
    Remove unused variable.
25845f
25845f
diff --git a/localedata/tests-mbwc/tst_mbrtowc.c b/localedata/tests-mbwc/tst_mbrtowc.c
25845f
index 3a6070a870550552..ffb33ce11e1d72b7 100644
25845f
--- a/localedata/tests-mbwc/tst_mbrtowc.c
25845f
+++ b/localedata/tests-mbwc/tst_mbrtowc.c
25845f
@@ -16,7 +16,7 @@ tst_mbrtowc (FILE * fp, int debug_flg)
25845f
   char w_flg, s_flg;
25845f
   char *s;
25845f
   size_t n;
25845f
-  char t_flg, t_ini;
25845f
+  char t_flg;
25845f
   static mbstate_t t = { 0 };
25845f
   mbstate_t *pt;
25845f
   wchar_t wc, *pwc, wc_ex;
25845f
@@ -42,7 +42,6 @@ tst_mbrtowc (FILE * fp, int debug_flg)
25845f
 	s = TST_INPUT_SEQ (mbrtowc).s;
25845f
 	n = TST_INPUT_SEQ (mbrtowc).n;
25845f
 	t_flg = TST_INPUT_SEQ (mbrtowc).t_flg;
25845f
-	t_ini = TST_INPUT_SEQ (mbrtowc).t_init;
25845f
 	pwc = (w_flg == 0) ? NULL : &wc;
25845f
 
25845f
 	if (s_flg == 0)
25845f
@@ -56,12 +55,7 @@ tst_mbrtowc (FILE * fp, int debug_flg)
25845f
 	  }
25845f
 
25845f
 	pt = (t_flg == 0) ? NULL : &t;
25845f
-#if 0
25845f
-	if (t_ini != 0)
25845f
-	  {
25845f
-	    memset (&t, 0, sizeof (t));
25845f
-	  }
25845f
-#endif
25845f
+
25845f
 	TST_CLEAR_ERRNO;
25845f
 	ret = mbrtowc (pwc, s, n, pt);
25845f
 	TST_SAVE_ERRNO;