2009-07-06 Joel Sherrill <joel.sherrill@OARcorp.com>

* score/src/coremsgsubmit.c: Move impossible case inside an RTEMS_DEBUG
	conditional.
This commit is contained in:
Joel Sherrill
2009-07-06 16:44:49 +00:00
parent 45d3b3304e
commit 402dad517e
2 changed files with 12 additions and 6 deletions
+5
View File
@@ -1,3 +1,8 @@
2009-07-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/src/coremsgsubmit.c: Move impossible case inside an RTEMS_DEBUG
conditional.
2009-07-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/Makefile.am, posix/src/mutex.c, posix/src/mutexinit.c: Add
+7 -6
View File
@@ -111,13 +111,14 @@ CORE_message_queue_Status _CORE_message_queue_Submit(
the_message =
_CORE_message_queue_Allocate_message_buffer( the_message_queue );
/*
* NOTE: If the system is consistent, this error should never occur.
*/
#if defined(RTEMS_DEBUG)
/*
* NOTE: If the system is consistent, this error should never occur.
*/
if ( !the_message ) {
return CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED;
}
if ( !the_message )
return CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED;
#endif
_CORE_message_queue_Copy_buffer(
buffer,