diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-06-05 23:09:24 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-06-05 23:09:24 +0200 |
commit | d80e49d7b6da04efac6ece21497d32b14abb089f (patch) | |
tree | 2ba477d7059c4f435654ec55bdea77473b805564 /test/locale-mbwc/tst_funcs.h | |
parent | 84b58ef8701d3d7d6071b391196ee78556f724df (diff) |
test: quieten some gcc warnings
Fix some gcc warnings while compiling the testsuite.
Diffstat (limited to 'test/locale-mbwc/tst_funcs.h')
-rw-r--r-- | test/locale-mbwc/tst_funcs.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/locale-mbwc/tst_funcs.h b/test/locale-mbwc/tst_funcs.h index 4bd0fb1ab..02d5d341a 100644 --- a/test/locale-mbwc/tst_funcs.h +++ b/test/locale-mbwc/tst_funcs.h @@ -84,7 +84,7 @@ extern int result (FILE * fp, char res, const char *func, const char *loc, #define TST_DECL_VARS(_type_) \ int loc, rec, err_count = 0; \ int warn_count __attribute__ ((unused)); \ - int func_id, seq_num = 0; \ + int seq_num = 0; \ const char *locale; \ int err_exp, ret_flg; \ int errno_save = 0; \ @@ -97,7 +97,6 @@ extern int result (FILE * fp, char res, const char *func, const char *loc, #ifdef __UCLIBC_HAS_LOCALE__ #define TST_HEAD_LOCALE(ofunc, s_func) \ - func_id = TST_HEAD (ofunc).func_id; \ locale = TST_HEAD (ofunc).locale; \ if (setlocale (LC_ALL, locale) == NULL) \ { \ @@ -109,7 +108,6 @@ extern int result (FILE * fp, char res, const char *func, const char *loc, } #else #define TST_HEAD_LOCALE(ofunc, s_func) \ - func_id = TST_HEAD (ofunc).func_id; \ locale = TST_HEAD (ofunc).locale; \ if (strcmp(locale, "C") == 0) \ { \ |