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:
Xiang Xiao
2021-03-29 14:00:56 +08:00
committed by Abdelatif Guettouche
parent 3813634dc9
commit 5f3a98b5a8
20 changed files with 15 additions and 74 deletions
-2
View File
@@ -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);