diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-08-24 11:13:23 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-11-01 09:45:34 -0300 |
commit | 6ee5a9767a245455720d39eeaa3ce136825e8a42 (patch) | |
tree | 2deb836e1450bd1754d14fdbcc93563ecf79bcb9 /benchtests/Makefile | |
parent | d227fd53cbbc9ae7e5604da3669d04b6ccb53aa1 (diff) | |
download | glibc-6ee5a9767a245455720d39eeaa3ce136825e8a42.tar.gz glibc-6ee5a9767a245455720d39eeaa3ce136825e8a42.tar.xz glibc-6ee5a9767a245455720d39eeaa3ce136825e8a42.zip |
intl: Fix clang -Wunused-but-set-variable on plural.c
Clang warns that '__gettextnerrs' set but not used: intl/plural.c:1034:9: error: variable '__gettextnerrs' set but not used [-Werror,-Wunused-but-set-variable] int yynerrs = 0; ^ Clang 15 (https://reviews.llvm.org/D122271) -Wunused-but-set-variable gives a warning while GCC doesn't. The -Wunused-but-set-variable is available in GCC 4.6, lower than the minimum required version 6.2. Since the file is auto-generated, suppress the warning with a compiler flag. Reviewed-by: Fangrui Song <maskray@google.com>
Diffstat (limited to 'benchtests/Makefile')
0 files changed, 0 insertions, 0 deletions