[U-Boot] [PATCH 07/13] board/apollon/sys_info.c: Fix GCC 4.6 build warning

Wolfgang Denk wd at denx.de
Sat Dec 10 23:10:18 CET 2011


Dear Wolfgang Denk,

In message <1323429272-26801-8-git-send-email-wd at denx.de> you wrote:
> Fix:
> sys_info.c: In function 'display_board_info':
> sys_info.c:260:16: warning: variable 'db_s' set but not used
> [-Wunused-but-set-variable]
> 
> Also fix resulting warnings:
> sys_info.c:251:7: warning: unused variable 'db_ip' [-Wunused-variable]
> sys_info.c:250:7: warning: unused variable 'db_men' [-Wunused-variable]
> 
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> Cc: Kyungmin Park <kyungmin.park at samsung.com>
> ---
>  board/apollon/sys_info.c |    9 +--------
>  1 files changed, 1 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
As far as the laws of mathematics refer  to  reality,  they  are  not
certain;  and  as  far  as  they  are  certain,  they do not refer to
reality.                                           -- Albert Einstein


More information about the U-Boot mailing list