mirror of
https://github.com/espressif/openthread.git
synced 2026-09-16 06:00:13 +00:00
[network-data] fix pointless integer comparison warning (#2239)
This commit is contained in:
@@ -484,7 +484,7 @@ public:
|
|||||||
* @retval TRUE the TLV appears to be well-formed.
|
* @retval TRUE the TLV appears to be well-formed.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
bool IsValid(void) const { return GetLength() <= sizeof(*this) - sizeof(ThreadTlv); }
|
bool IsValid(void) const { return true; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This method returns a pointer to the Network Data TLVs.
|
* This method returns a pointer to the Network Data TLVs.
|
||||||
|
|||||||
Reference in New Issue
Block a user