mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 14:50:05 +00:00
string: Allow use of test-string.h for non-ifunc implementations.
Mark two variables as unused to silence warning when using test-string.h for non-ifunc implementations. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
parent
8e78a2e1d1
commit
1626d8a521
@ -130,8 +130,8 @@ cmdline_process_function (int c)
|
||||
/* Increase size of FUNC_LIST if assert is triggered at run-time. */
|
||||
static struct libc_ifunc_impl func_list[32];
|
||||
static int func_count;
|
||||
static int impl_count = -1;
|
||||
static impl_t *impl_array;
|
||||
static int impl_count __attribute__ ((unused)) = -1;
|
||||
static impl_t *impl_array __attribute__ ((unused));
|
||||
|
||||
# define FOR_EACH_IMPL(impl, notall) \
|
||||
impl_t *impl; \
|
||||
|
Loading…
Reference in New Issue
Block a user