diff options
-rw-r--r-- | cpukit/ChangeLog | 8 | ||||
-rw-r--r-- | cpukit/posix/src/mutexsetprioceiling.c | 3 |
2 files changed, 9 insertions, 2 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 596e87016d..8ed69b7c9d 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,13 @@ 2009-07-07 Joel Sherrill <joel.sherrill@OARcorp.com> + * ChangeLog, posix/src/mutexsetprioceiling.c: Remove warning. + +2009-07-07 Joel Sherrill <joel.sherrill@OARcorp.com> + + * posix/src/mutexsetprioceiling.c: Remove warning. + +2009-07-07 Joel Sherrill <joel.sherrill@OARcorp.com> + * posix/src/mutexsetprioceiling.c: Restructure to eliminate code paths which are unreachable. Also add more comments. * score/src/coremutexsurrender.c: Mark some code as RTEMS_DEBUG only diff --git a/cpukit/posix/src/mutexsetprioceiling.c b/cpukit/posix/src/mutexsetprioceiling.c index 8d7b40adf3..f132b38e04 100644 --- a/cpukit/posix/src/mutexsetprioceiling.c +++ b/cpukit/posix/src/mutexsetprioceiling.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT (c) 1989-2007. + * COPYRIGHT (c) 1989-2009. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -37,7 +37,6 @@ int pthread_mutex_setprioceiling( register POSIX_Mutex_Control *the_mutex; Objects_Locations location; Priority_Control the_priority; - int status; if ( !old_ceiling ) return EINVAL; |