summaryrefslogtreecommitdiff
path: root/tests/test-fcntl.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-fcntl.c')
-rw-r--r--tests/test-fcntl.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/test-fcntl.c b/tests/test-fcntl.c
index c2b7377b59..5fb554afe7 100644
--- a/tests/test-fcntl.c
+++ b/tests/test-fcntl.c
@@ -45,10 +45,8 @@ SIGNATURE_CHECK (fcntl, int, (int, int, ...));
#include "macros.h"
/* Tell GCC not to warn about the specific edge cases tested here. */
-#if __GNUC__ >= 10
-# pragma GCC diagnostic ignored "-Wanalyzer-fd-leak"
-#endif
#if __GNUC__ >= 13
+# pragma GCC diagnostic ignored "-Wanalyzer-fd-leak"
# pragma GCC diagnostic ignored "-Wanalyzer-va-arg-type-mismatch"
#endif