Ignore:
Timestamp:
07/10/14 10:49:43 (9 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
27783f6
Parents:
76ad756c
git-author:
Sebastian Huber <sebastian.huber@…> (07/10/14 10:49:43)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/10/14 13:29:57)
Message:

score: Fix assertions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/include/rtems/score/schedulerpriorityimpl.h

    r76ad756c r333f942  
    162162{
    163163  Priority_Control index = _Priority_bit_map_Get_highest( bit_map );
    164 
    165   return _Chain_First( &ready_queues[ index ] );
     164  Chain_Node *first = _Chain_First( &ready_queues[ index ] );
     165
     166  _Assert( first != _Chain_Tail( &ready_queues[ index ] ) );
     167
     168  return first;
    166169}
    167170
Note: See TracChangeset for help on using the changeset viewer.