about summary refs log tree commit diff
path: root/stdlib/tst-strtod-underflow.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/tst-strtod-underflow.c')
-rw-r--r--stdlib/tst-strtod-underflow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/tst-strtod-underflow.c b/stdlib/tst-strtod-underflow.c
index bc2374188b..82bb483fcf 100644
--- a/stdlib/tst-strtod-underflow.c
+++ b/stdlib/tst-strtod-underflow.c
@@ -171,7 +171,7 @@ test_in_one_mode (const char *s, enum underflow_case c, int rm,
 static int
 do_test (void)
 {
-  int save_round_mode = fegetround ();
+  int save_round_mode __attribute__ ((unused)) = fegetround ();
   int result = 0;
 #ifdef FE_TONEAREST
   const int fe_tonearest = FE_TONEAREST;