[U-Boot] [PATCH 12/12] drivers/rtc/s3c24x0_rtc.c: fix GCC 4.6 warnings

Wolfgang Denk wd at denx.de
Wed Nov 16 21:37:32 CET 2011


Dear Anatolij Gustschin,

In message <1321399263-13826-13-git-send-email-agust at denx.de> you wrote:
> Fix:
> s3c24x0_rtc.c: In function 'rtc_get':
> s3c24x0_rtc.c:67:53: warning: variable 'a_armed' set but not used
> s3c24x0_rtc.c:67:45: warning: variable 'a_year' set but not used
> s3c24x0_rtc.c:67:38: warning: variable 'a_mon' set but not used
> s3c24x0_rtc.c:67:30: warning: variable 'a_date' set but not used
> s3c24x0_rtc.c:67:22: warning: variable 'a_hour' set but not used
> s3c24x0_rtc.c:67:15: warning: variable 'a_min' set but not used
> s3c24x0_rtc.c:67:8: warning: variable 'a_sec' set but not used
> [-Wunused-but-set-variable]
> 
> Signed-off-by: Anatolij Gustschin <agust at denx.de>
> ---
>  drivers/rtc/s3c24x0_rtc.c |    6 +++---
>  1 files changed, 3 insertions(+), 3 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
I read part of it all the way through.


More information about the U-Boot mailing list