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.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to