diff options
Diffstat (limited to 'tests/test-listen.c')
-rw-r--r-- | tests/test-listen.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test-listen.c b/tests/test-listen.c index 43b86a8bb0..b245e48f3a 100644 --- a/tests/test-listen.c +++ b/tests/test-listen.c @@ -27,6 +27,11 @@ SIGNATURE_CHECK (listen, int, (int, int)); #include "sockets.h" #include "macros.h" +/* Tell GCC not to warn about the specific edge cases tested here. */ +#if __GNUC__ >= 10 +# pragma GCC diagnostic ignored "-Wanalyzer-fd-use-without-check" +#endif + int main (void) { |