summaryrefslogtreecommitdiff
path: root/libc/test/src/stdlib/StrfromTest.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/test/src/stdlib/StrfromTest.h')
-rw-r--r--libc/test/src/stdlib/StrfromTest.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/test/src/stdlib/StrfromTest.h b/libc/test/src/stdlib/StrfromTest.h
index 197165c68d58..e82c94499aa1 100644
--- a/libc/test/src/stdlib/StrfromTest.h
+++ b/libc/test/src/stdlib/StrfromTest.h
@@ -357,7 +357,7 @@ public:
ASSERT_STREQ_LEN(written, buff, "1.0e+01");
}
- void floatDecimalExpLongDoublePrec(FunctionT func) {
+ void floatDecimalExpLongDoublePrec([[maybe_unused]] FunctionT func) {
// Mark as maybe_unused to silence unused variable
// warning when long double is not 80-bit
[[maybe_unused]] char buff[100];
@@ -422,7 +422,7 @@ public:
ASSERT_STREQ_LEN(written, buff, "1.2340000000000000814e-10");
}
- void floatDecimalAutoLongDoublePrec(FunctionT func) {
+ void floatDecimalAutoLongDoublePrec([[maybe_unused]] FunctionT func) {
// Mark as maybe_unused to silence unused variable
// warning when long double is not 80-bit
[[maybe_unused]] char buff[100];