mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
libc/assert: Reference the expression in all case
to avoid the warning "defined but not used" Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> Change-Id: I55b7c092d0f2e5882fc1784987657c10cdf2d90b
This commit is contained in:
committed by
Abdelatif Guettouche
parent
3813634dc9
commit
5f3a98b5a8
@@ -1361,8 +1361,6 @@ int mac802154netdev_register(MACHANDLE mac)
|
||||
|
||||
nxsem_init(&priv->md_exclsem, 0, 1);
|
||||
|
||||
DEBUGASSERT(priv->md_txpoll != NULL);
|
||||
|
||||
/* Set the network mask. */
|
||||
|
||||
macnet_netmask(dev);
|
||||
|
||||
Reference in New Issue
Block a user