tests: posix: headers: net: Re-enable warning

CI passes with the warning removed.

Signed-off-by: Tom Hughes <tomhughes@chromium.org>
This commit is contained in:
Tom Hughes 2025-02-03 11:52:28 -08:00 committed by Benjamin Cabé
commit 3bbe56060f

View file

@ -12,8 +12,6 @@
#include <zephyr/posix/netinet/in.h>
#endif
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-variable"
/**
* @brief existence test for `<netinet/in.h>`
*
@ -100,4 +98,3 @@ ZTEST(posix_headers, test_netinet_in_h)
zexpect_true(IN6_IS_ADDR_MC_ORGLOCAL(&mcol6));
zexpect_true(IN6_IS_ADDR_MC_GLOBAL(&mcg6));
}
#pragma GCC diagnostic pop