diff --git a/src/transport/common/lease.c b/src/transport/common/lease.c index 8b8cc1078..f5e383d22 100644 --- a/src/transport/common/lease.c +++ b/src/transport/common/lease.c @@ -49,7 +49,7 @@ int8_t _z_send_join(_z_transport_t *zt) { ret = _zp_multicast_send_join(&zt->_transport._raweth); break; default: - (void)zt; + _ZP_UNUSED(zt); ret = _Z_ERR_TRANSPORT_NOT_AVAILABLE; break; }