mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-05-12 20:05:55 +00:00
score: Clarify _Thread_Priority_apply()
Add an assertion to help static analyzers.
This commit is contained in:
committed by
Kinsey Moore
parent
8bee39f21c
commit
9cea931dfc
@@ -323,6 +323,8 @@ static void _Thread_Priority_apply(
|
||||
);
|
||||
|
||||
if ( !_Priority_Actions_is_empty( &queue_context->Priority.Actions ) ) {
|
||||
/* Priority actions are only created if a thread queue exists */
|
||||
_Assert( queue != NULL );
|
||||
_Thread_Priority_perform_actions( queue->owner, queue_context );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user