Changeset 5c7c1ec in rtems


Ignore:
Timestamp:
Jul 22, 2009, 4:00:21 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
0d3b27cd
Parents:
51cec29
Message:

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

  • rtems/src/regionextend.c: Remove warning.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r51cec29 r5c7c1ec  
     12009-07-22      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * rtems/src/regionextend.c: Remove warning.
     4
    152009-07-22      Joel Sherrill <joel.sherrill@oarcorp.com>
    26
  • cpukit/rtems/src/regionextend.c

    r51cec29 r5c7c1ec  
    5858    return RTEMS_INVALID_ADDRESS;
    5959
     60  return_status = RTEMS_SUCCESSFUL;
     61
    6062  _RTEMS_Lock_allocator();                      /* to prevent deletion */
    6163
     
    7375
    7476        if ( heap_status == HEAP_EXTEND_SUCCESSFUL ) {
    75           the_region->length                += amount_extended;
    76           the_region->maximum_segment_size  += amount_extended;
    77           return_status = RTEMS_SUCCESSFUL;
     77          the_region->length                += amount_extended;
     78          the_region->maximum_segment_size  += amount_extended;
    7879        } else if ( heap_status == HEAP_EXTEND_ERROR ) {
    79           return_status = RTEMS_INVALID_ADDRESS;
     80          return_status = RTEMS_INVALID_ADDRESS;
    8081        } else if ( heap_status ==  HEAP_EXTEND_NOT_IMPLEMENTED ) {
    8182          return_status = RTEMS_NOT_IMPLEMENTED;
Note: See TracChangeset for help on using the changeset viewer.