mirror of
https://github.com/espressif/openthread.git
synced 2026-08-03 09:27:47 +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.
|
||||
*
|
||||
*/
|
||||
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.
|
||||
|
||||
Reference in New Issue
Block a user