mirror of
https://github.com/espressif/openthread.git
synced 2026-08-03 17:37:46 +00:00
[lowpan] fix uninitialized variable warnings (#2126)
This commit is contained in:
@@ -391,6 +391,12 @@ OT_TOOL_PACKED_BEGIN
|
||||
class FragmentHeader
|
||||
{
|
||||
public:
|
||||
/**
|
||||
* This constructor initializes the Fragment Header.
|
||||
*
|
||||
*/
|
||||
FragmentHeader(void) { mDispatchSize = HostSwap16(kDispatch); mTag = 0; mOffset = 0; }
|
||||
|
||||
/**
|
||||
* This method initializes the Fragment Header.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user