xiaoxiang781216 commented on code in PR #6995: URL: https://github.com/apache/incubator-nuttx/pull/6995#discussion_r962153956
########## mm/mm_heap/mm_extend.c: ########## @@ -77,7 +77,7 @@ void mm_extend(FAR struct mm_heap_s *heap, FAR void *mem, size_t size, /* Take the memory manager semaphore */ - DEBUGVERIFY(mm_takesemaphore(heap)); + DEBUGASSERT(mm_takesemaphore(heap)); Review Comment: Yes, not really but similar to empty, since this first one will skip mm_takesemaphore when CONFIG_DEBUG_ASSERTIONS isn't defined. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org