1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

unittests/tests-ipv4_addr: test_ipv4_addr_to_str__addr_NULL(): zero a

This commit is contained in:
Kaspar Schleiser 2021-07-05 16:36:53 +02:00
parent 9755b7ae12
commit b388a2a440

View File

@ -54,7 +54,7 @@ static void test_ipv4_addr_to_str__addr_NULL(void)
static void test_ipv4_addr_to_str__result_NULL(void)
{
ipv4_addr_t a;
ipv4_addr_t a = {0};
TEST_ASSERT_NULL(ipv4_addr_to_str(NULL, &a, IPV4_ADDR_MAX_STR_LEN));
}