]> git.dujemihanovic.xyz Git - u-boot.git/commit
fs/fat/fat_write.c: Fix GCC 4.6 warnings
authorAnatolij Gustschin <agust@denx.de>
Sat, 24 Mar 2012 22:40:56 +0000 (23:40 +0100)
committerAnatolij Gustschin <agust@denx.de>
Mon, 26 Mar 2012 08:58:54 +0000 (10:58 +0200)
commitbf6b6af74655506ce23ca04d6e5c6b3ad3fcf490
tree4fc3107f6ed45f7200cd91650ec1ee8188adc669
parent079df7223c05518687cbd2eb9ad1b3d1712ee6d7
fs/fat/fat_write.c: Fix GCC 4.6 warnings

Fix:
fat_write.c: In function 'find_directory_entry':
fat_write.c:826:8: warning: variable 'prevcksum' set but not used
[-Wunused-but-set-variable]
fat_write.c: In function 'do_fat_write':
fat_write.c:933:6: warning: variable 'root_cluster' set but not used
[-Wunused-but-set-variable]
fat_write.c:925:12: warning: variable 'slotptr' set but not used
[-Wunused-but-set-variable]

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Cc: Donggeun Kim <dg77.kim@samsung.com>
Acked-by: Maximilian Schwerin <mvs@tigris.de>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
fs/fat/fat_write.c