Replace all ASSERT with DEBUGASSERT to save the code space

This commit is contained in:
Xiang Xiao
2018-08-24 06:58:30 -06:00
committed by Gregory Nutt
parent 467d2a58ea
commit e1202d2ed3
129 changed files with 219 additions and 219 deletions
+1 -1
View File
@@ -113,7 +113,7 @@ void igmp_waitmsg(FAR struct igmp_group_s *group, uint8_t msgid)
* the wait is awakened by a signal.
*/
ASSERT(ret == -EINTR || ret == -ECANCELED);
DEBUGASSERT(ret == -EINTR || ret == -ECANCELED);
}
UNUSED(ret);
+1 -1
View File
@@ -118,7 +118,7 @@ static inline void _udp_semtake(FAR sem_t *sem)
* the wait was awakened by a signal.
*/
ASSERT(ret == -EINTR || ret == -ECANCELED);
DEBUGASSERT(ret == -EINTR || ret == -ECANCELED);
}
UNUSED(ret);