about summary refs log tree commit diff
path: root/string/test-strncmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'string/test-strncmp.c')
-rw-r--r--string/test-strncmp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/string/test-strncmp.c b/string/test-strncmp.c
index 4fed4e50f1..431b64d6af 100644
--- a/string/test-strncmp.c
+++ b/string/test-strncmp.c
@@ -68,7 +68,9 @@ do_one_test (impl_t *impl, const char *s1, const char *s2, 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)