mirror of git://sourceware.org/git/glibc.git
(do_one_test): Makr start and stop as possibly unused.
This commit is contained in:
parent
4ab6f47ce3
commit
0aa72cf1b5
|
@ -1,5 +1,5 @@
|
|||
/* Test and measure strncpy functions.
|
||||
Copyright (C) 1999, 2002 Free Software Foundation, Inc.
|
||||
Copyright (C) 1999, 2002, 2003 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Written by Jakub Jelinek <jakub@redhat.com>, 1999.
|
||||
|
||||
|
@ -93,7 +93,9 @@ do_one_test (impl_t *impl, char *dst, const char *src, size_t len, size_t n)
|
|||
|
||||
if (HP_TIMING_AVAIL)
|
||||
{
|
||||
hp_timing_t start, stop, best_time = ~ (hp_timing_t) 0;
|
||||
hp_timing_t start __attribute__ ((unused));
|
||||
hp_timing_t stop __attribute__ ((unused));
|
||||
hp_timing_t best_time = ~ (hp_timing_t) 0;
|
||||
size_t i;
|
||||
|
||||
for (i = 0; i < 32; ++i)
|
||||
|
|
Loading…
Reference in New Issue