mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
Replace all ASSERT with DEBUGASSERT to save the code space
This commit is contained in:
+1
-1
@@ -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
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user