Changeset 519 for trunk/kernel/fs


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/kernel/fs/fatfs.c

    r492 r519  
    5555//////////////////////////////////////////////////////////////////////////////////////////
    5656
    57 static inline int get_length( int offset , int length ) { if( offset + 1 ) return length; }
    58 
    59 static inline int get_offset( int offset , int length ) { if( length + 1 ) return offset; }
    60 
     57static inline
     58int get_length(
     59    int offset __attribute__((unused) ),
     60    int length)
     61{
     62    return length;
     63}
     64
     65static inline
     66int get_offset(
     67    int offset,
     68    int length __attribute__((unused)) )
     69{
     70    return offset;
     71}
    6172
    6273//////////////////////////////////////////////////////////////////////////////////////////
Note: See TracChangeset for help on using the changeset viewer.