mirror of
https://github.com/espressif/openthread.git
synced 2026-08-12 21:57:47 +00:00
[tests] update test_child to use Clear() instead of memset (#4248)
This commit is contained in:
committed by
Jonathan Hui
parent
0e45ba6d77
commit
956fa518a7
@@ -143,7 +143,7 @@ void TestChildIp6Address(void)
|
||||
|
||||
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
printf("Child state after init");
|
||||
memset(&child, 0, sizeof(child));
|
||||
child.Clear();
|
||||
VerifyChildIp6Addresses(child, 0, NULL);
|
||||
printf(" -- PASS\n");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user