about summary refs log tree commit diff
path: root/string
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-04-16 17:10:51 +0000
committerUlrich Drepper <drepper@redhat.com>2003-04-16 17:10:51 +0000
commit0aa72cf1b5f86257cc43dfe386835a27e98a3d95 (patch)
tree3d99446c5007d19eac256951df082d5e4b40194c /string
parent4ab6f47ce341913208e424eb70364442e826a00a (diff)
downloadglibc-0aa72cf1b5f86257cc43dfe386835a27e98a3d95.tar.gz
glibc-0aa72cf1b5f86257cc43dfe386835a27e98a3d95.tar.xz
glibc-0aa72cf1b5f86257cc43dfe386835a27e98a3d95.zip
(do_one_test): Makr start and stop as possibly unused.
Diffstat (limited to 'string')
-rw-r--r--string/test-strncpy.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/string/test-strncpy.c b/string/test-strncpy.c
index c30c9b040b..62b83166a3 100644
--- a/string/test-strncpy.c
+++ b/string/test-strncpy.c
@@ -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)