Changeset 402dad5 in rtems


Ignore:
Timestamp:
Jul 6, 2009, 4:44:49 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
630a2a6
Parents:
45d3b33
Message:

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

  • score/src/coremsgsubmit.c: Move impossible case inside an RTEMS_DEBUG conditional.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r45d3b33 r402dad5  
     12009-07-06      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * score/src/coremsgsubmit.c: Move impossible case inside an RTEMS_DEBUG
     4        conditional.
     5
    162009-07-06      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • cpukit/score/src/coremsgsubmit.c

    r45d3b33 r402dad5  
    112112        _CORE_message_queue_Allocate_message_buffer( the_message_queue );
    113113
    114     /*
    115      *  NOTE: If the system is consistent, this error should never occur.
    116      */
     114    #if defined(RTEMS_DEBUG)
     115      /*
     116       *  NOTE: If the system is consistent, this error should never occur.
     117       */
    117118
    118     if ( !the_message ) {
    119       return CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED;
    120     }
     119      if ( !the_message )
     120        return CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED;
     121     #endif
    121122
    122123    _CORE_message_queue_Copy_buffer(
Note: See TracChangeset for help on using the changeset viewer.