]> git.sur5r.net Git - u-boot/commit
common/cmd_fdc.c: Fix GCC 4.6 build warnings
authorWolfgang Denk <wd@denx.de>
Wed, 9 Nov 2011 09:29:02 +0000 (09:29 +0000)
committerWolfgang Denk <wd@denx.de>
Wed, 16 Nov 2011 20:04:44 +0000 (21:04 +0100)
commit4ec6e4a88fbe4876f46f3c0dbc6292b4bb0530f0
treeb144a6baf0556a2d3592b2ef960c30a757f00e5d
parent504f7080c33f2b39ac9528b00421f3da9096309b
common/cmd_fdc.c: Fix GCC 4.6 build warnings

Fix:
cmd_fdc.c: In function 'fdc_read_data':
cmd_fdc.c:435:6: warning: variable 'flags' set but not used
[-Wunused-but-set-variable]
cmd_fdc.c:432:16: warning: variable 'pcn' set but not used
[-Wunused-but-set-variable]
cmd_fdc.c:431:20: warning: variable 'lastblk' set but not used
[-Wunused-but-set-variable]

Note: no attempts were made to otherwise cleanup the code.

Signed-off-by: Wolfgang Denk <wd@denx.de>
common/cmd_fdc.c