RTEMS | Discrepancy between Code and Comments (#4812)
Dhruva P V (@Dhrulian)
gitlab at rtems.org
Wed Dec 10 13:37:53 UTC 2025
Dhruva P V commented: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/4812#note_137097
so should it be.?.
static inline bool \_Chain_Is_node_off_chain( const Chain_Node \*node ){
#if defined(RTEMS_DEBUG)
\_Assert( node-\>previous == NULL );
#endif return node-\>next == NULL;
}
where in debug mode debugmode node-\>previous is set to null ,else next-\>null
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/4812#note_137097
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20251210/e042a4ba/attachment.htm>
More information about the bugs
mailing list