mirror of
https://github.com/espressif/openthread.git
synced 2026-09-16 22:20:07 +00:00
[windows] resolve uninitialized memory warning (#3073)
This commit is contained in:
@@ -3946,6 +3946,7 @@ otJoinerGetId(
|
||||
)
|
||||
{
|
||||
if (aInstance == nullptr) return OT_ERROR_INVALID_ARGS;
|
||||
ZeroMemory(aJoinerId, sizeof(otExtAddress));
|
||||
return DwordToThreadError(SetIOCTL(aInstance, IOCTL_OTLWF_OT_JOINER_ID, aJoinerId));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user