Changeset 519 for trunk/boot


Ignore:
Timestamp:
Aug 27, 2018, 10:49:51 PM (6 years ago)
Author:
viala@…
Message:

fat/boot_fat32 use unused attribute

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/boot/tsar_mips32/boot_fat32.c

    r474 r519  
    4848 * @ returns the field offset.                                              *
    4949 ****************************************************************************/
    50 static inline int get_offset(int offset, int size)
    51 {
    52     if( size + 1 ) return offset;
    53 
     50static inline
     51int get_offset(
     52    int offset,
     53    int size __attribute__ ((unused)))
     54{
     55    return offset;
    5456} // get_offset()
    5557
     
    6365 * @ returns the field length.                                              *
    6466 ****************************************************************************/
    65 static inline int get_size(int offset, int size)
    66 {
    67     if( offset + 1 ) return size;
    68 
     67static inline
     68int get_size(
     69    int offset __attribute__ ((unused)),
     70    int size)
     71{
     72    return size;
    6973} // get_size()
    7074
Note: See TracChangeset for help on using the changeset viewer.