score: Clarify _Thread_Priority_apply()

Add an assertion to help static analyzers.
This commit is contained in:
Sebastian Huber
2025-03-26 14:37:32 +01:00
committed by Kinsey Moore
parent 8bee39f21c
commit 9cea931dfc

View File

@@ -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 );
}