diff options
Diffstat (limited to 'stdlib')
-rw-r--r-- | stdlib/tst-strtod-round.c | 2 | ||||
-rw-r--r-- | stdlib/tst-strtod-underflow.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/tst-strtod-round.c b/stdlib/tst-strtod-round.c index cbde457..2a278d0 100644 --- a/stdlib/tst-strtod-round.c +++ b/stdlib/tst-strtod-round.c @@ -7874,7 +7874,7 @@ test_in_one_mode (const char *s, const struct test_results *expected, 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 (tests) / sizeof (tests[0]); i++) { diff --git a/stdlib/tst-strtod-underflow.c b/stdlib/tst-strtod-underflow.c index bc23741..82bb483 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; |