Ticket #1412: pr1412.diff

File pr1412.diff, 947 bytes (added by Joel Sherrill, on 05/18/09 at 13:37:11)

Adds missing braces

  • cpukit/score/src/coremutex.c

    RCS file: /usr1/CVS/rtems/cpukit/score/src/coremutex.c,v
    retrieving revision 1.31
    diff -u -r1.31 coremutex.c
     
    6363    the_mutex->holder     = _Thread_Executing;
    6464    the_mutex->holder_id  = _Thread_Executing->Object.id;
    6565    if ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) ||
    66          _CORE_mutex_Is_priority_ceiling( &the_mutex->Attributes ) )
     66         _CORE_mutex_Is_priority_ceiling( &the_mutex->Attributes ) ) {
    6767     
    6868#ifdef __RTEMS_STRICT_ORDER_MUTEX__
    6969       _Chain_Prepend_unprotected( &_Thread_Executing->lock_mutex,
     
    7272#endif
    7373
    7474      _Thread_Executing->resource_count++;
     75    }
    7576  } else {
    7677    the_mutex->nest_count = 0;
    7778    the_mutex->holder     = NULL;