Changeset 473 for trunk/boot/tsar_mips32


Ignore:
Timestamp:
Aug 21, 2018, 6:01:01 PM (6 years ago)
Author:
alain
Message:

Fix several GCC warning related to the -Wextra compilation option.

File:
1 edited

Legend:

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

    r439 r473  
    5050static inline int get_offset(int offset, int size)
    5151{
    52     return offset;
     52    if( size + 1 ) return offset;
    5353
    5454} // get_offset()
     
    6565static inline int get_size(int offset, int size)
    6666{
    67     return size;
     67    if( offset + 1 ) return size;
    6868
    6969} // get_size()
Note: See TracChangeset for help on using the changeset viewer.