[U-Boot] [PATCH 09/13] common/cmd_fdc.c: Fix GCC 4.6 build warnings

Wolfgang Denk
2011-11-16T20:04:48Z

Dear Wolfgang Denk,

In message <1320866946-28235-9-git-send-email-wd@denx.de> you wrote:
> 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 | 29 +++++++++++++++++------------
> 1 files changed, 17 insertions(+), 12 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
How many hardware guys does it take to change a light bulb? "Well the
diagnostics say it's fine buddy, so it's a software problem."