mirror of
https://github.com/espressif/openthread.git
synced 2026-08-09 20:27:47 +00:00
[udp] suppress warning of unused parameter (#4228)
This commit is contained in:
@@ -54,6 +54,7 @@ static bool IsMle(Instance &aInstance, uint16_t aPort)
|
||||
#if OPENTHREAD_FTD
|
||||
return aPort == ot::Mle::kUdpPort || aPort == aInstance.Get<MeshCoP::JoinerRouter>().GetJoinerUdpPort();
|
||||
#else
|
||||
OT_UNUSED_VARIABLE(aInstance);
|
||||
return aPort == ot::Mle::kUdpPort;
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user