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