Changeset 11236580 in rtems


Ignore:
Timestamp:
Nov 4, 2010, 11:00:04 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 5, master
Children:
b7e0c21
Parents:
16b1546e
Message:

2010-11-04 Joel Sherrill <joel.sherrill@…>

  • libmisc/stackchk/check.c: Make compile again.
  • sapi/src/io.c, score/src/heap.c: Address dead assignment issues found by clang.
Location:
cpukit
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r16b1546e r11236580  
     12010-11-04      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * libmisc/stackchk/check.c: Make compile again.
     4        * sapi/src/io.c, score/src/heap.c: Address dead assignment
     5        issues found by clang.
     6
    172010-11-04      Joel Sherrill <joel.sherrill@oarcorp.com>
    28
  • cpukit/libmisc/stackchk/check.c

    r16b1546e r11236580  
    8282  #define Stack_check_Get_pattern( _the_stack ) \
    8383    ((char *)(_the_stack)->area + \
    84          (_the_stack)->size - sizeof( Stack_check_Control ) ))
     84         (_the_stack)->size - sizeof( Stack_check_Control ) )
    8585
    8686  #define Stack_check_Calculate_used( _low, _size, _high_water ) \
     
    9898   */
    9999  #define Stack_check_Get_pattern( _the_stack ) \
    100     ((char *)(_the_stack)->area \
    101       + sizeof(Heap_Block) - HEAP_BLOCK_HEADER_SIZE))
     100    ((char *)(_the_stack)->area + sizeof(Heap_Block) - HEAP_BLOCK_HEADER_SIZE)
    102101
    103102  #define Stack_check_Calculate_used( _low, _size, _high_water) \
     
    113112 */
    114113#define Stack_check_Get_pattern_area( _the_stack ) \
    115   ((Stack_check_Control *) Stack_check_Get_pattern( _the_stack )
     114  (Stack_check_Control *) Stack_check_Get_pattern( _the_stack )
    116115
    117116/*
  • cpukit/sapi/src/io.c

    r16b1546e r11236580  
    8181  for ( index = 0 ; index < drivers_in_table ; index++ )
    8282    _IO_Driver_address_table[index] = driver_table[index];
    83   number_of_drivers = drivers_in_table;
    8483}
    8584
  • cpukit/score/src/heap.c

    r16b1546e r11236580  
    417417
    418418    block = prev_block;
    419     block_begin = (uintptr_t) block;
    420419    block_size += prev_block_size;
    421420  }
Note: See TracChangeset for help on using the changeset viewer.