about summary refs log tree commit diff
path: root/stdio-common/tst-printf-round.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/tst-printf-round.c')
-rw-r--r--stdio-common/tst-printf-round.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdio-common/tst-printf-round.c b/stdio-common/tst-printf-round.c
index 5035ddae4c..6022edf26d 100644
--- a/stdio-common/tst-printf-round.c
+++ b/stdio-common/tst-printf-round.c
@@ -164,7 +164,7 @@ test_hex_in_one_mode (double d, const char *fmt, const char *const expected[4],
 static int
 do_test (void)
 {
-  int save_round_mode = fegetround ();
+  int save_round_mode __attribute__ ((unused)) = fegetround ();
   int result = 0;
 
   for (size_t i = 0; i < sizeof (dec_tests) / sizeof (dec_tests[0]); i++)