From 39d8fd2161d0a505c5b25add023aad833714b980 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Tue, 22 Apr 2025 15:06:50 -0600 Subject: Use C23 This gives us: - [[maybe_unused]] instead of [[gnu::unused]] - bool/true/false are predefined, so no need for --- lib9p/tests/test_compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib9p/tests/test_compile.c') diff --git a/lib9p/tests/test_compile.c b/lib9p/tests/test_compile.c index e53b738..e814bf9 100644 --- a/lib9p/tests/test_compile.c +++ b/lib9p/tests/test_compile.c @@ -2,7 +2,7 @@ #include int main(void) { - [[gnu::unused]] uint64_t x; + [[maybe_unused]] uint64_t x; #ifdef LIB9P_B4_FALSE x = LIB9P_B4_FALSE; #endif -- cgit v1.2.3-2-g168b