mirror of
https://github.com/espressif/openthread.git
synced 2026-09-16 22:20:07 +00:00
[test] address uninitialized reference use warning (#7459)
This commit addresses "uninitialized reference use" warning in `test_data`.
This commit is contained in:
@@ -45,8 +45,8 @@ template <DataLengthType kDataLengthType> void TestData(void)
|
|||||||
Data data;
|
Data data;
|
||||||
Data data2;
|
Data data2;
|
||||||
uint8_t buffer[sizeof(kData) + 1];
|
uint8_t buffer[sizeof(kData) + 1];
|
||||||
uint8_t u8;
|
uint8_t u8 = 0x12;
|
||||||
uint16_t u16;
|
uint16_t u16 = 0x3456;
|
||||||
|
|
||||||
data.Clear();
|
data.Clear();
|
||||||
data2.Clear();
|
data2.Clear();
|
||||||
|
|||||||
Reference in New Issue
Block a user