#202 2 more gcc 4.7 warnings

closed-fixed
nobody
None
5
2012-04-12
2012-04-11
Greg
No

=====
fatfs.c: In function 'fatfs_fsstat':
fatfs.c:896:13: warning: array subscript is above array bounds [-Warray-bounds]
fatfs.c:896:13: warning: array subscript is above array bounds [-Warray-bounds]
fatfs.c:896:13: warning: array subscript is above array bounds [-Warray-bounds]
fatfs.c:896:13: warning: array subscript is above array bounds [-Warray-bounds]
=====

=====
ext2fs.c: In function 'ext2fs_istat':
ext2fs.c:1763:22: warning: array subscript is above array bounds [-Warray-bounds]
ext2fs.c:1763:22: warning: array subscript is above array bounds [-Warray-bounds]
ext2fs.c:1763:22: warning: array subscript is above array bounds [-Warray-bounds]
ext2fs.c:1763:22: warning: array subscript is above array bounds [-Warray-bounds]
=====

I have not evaluated the source to see if these are significant or noise.

Discussion

  • Brian Carrier
    Brian Carrier
    2012-04-12

    Fixed on github master:

    [master 68bc824] fix for 3516875 from gregfreemeyer regarding using getu32 on some 16-bit values
    2 files changed, 3 insertions(+), 3 deletions(-)

     
  • Brian Carrier
    Brian Carrier
    2012-04-12

    • status: open --> closed-fixed