[U-Boot] [PATCH 15/56] board/tqc/tqm5200/cam5200_flash.c: Fix GCC 4.6 build warning

Wolfgang Denk wd at denx.de
Mon Nov 7 22:11:49 CET 2011


Dear Wolfgang Denk,

In message <1320458160-23136-16-git-send-email-wd at denx.de> you wrote:
> Fix:
> cam5200_flash.c: In function 'flash_erase_32':
> cam5200_flash.c:282:24: warning: variable 'l_sect' set but not used
> [-Wunused-but-set-variable]
> cam5200_flash.c: In function 'flash_erase_16':
> cam5200_flash.c:612:24: warning: variable 'l_sect' set but not used
> [-Wunused-but-set-variable]
> 
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> ---
>  board/tqc/tqm5200/cam5200_flash.c |   10 ++--------
>  1 files changed, 2 insertions(+), 8 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
"Don't worry about people stealing your ideas. If your ideas are  any
good, you'll have to ram them down people's throats."  - Howard Aiken


More information about the U-Boot mailing list