[U-Boot] [PATCH 09/56] drivers/rtc/rv3029.c: fix GCC 4.6 build warnings

Wolfgang Denk wd at denx.de
Mon Nov 7 22:10:44 CET 2011


Dear Wolfgang Denk,

In message <1320458160-23136-10-git-send-email-wd at denx.de> you wrote:
> Fix:
> rv3029.c: In function 'rtc_set':
> rv3029.c:98:6: warning: variable 'ret' set but not used
> [-Wunused-but-set-variable]
> rv3029.c: In function 'set_eere_bit':
> rv3029.c:131:6: warning: variable 'ret' set but not used
> [-Wunused-but-set-variable]
> rv3029.c: In function 'wait_eebusy':
> rv3029.c:149:9: warning: variable 'ret' set but not used
> [-Wunused-but-set-variable]
> rv3029.c: In function 'rtc_reset':
> rv3029.c:165:6: warning: variable 'ret' set but not used
> [-Wunused-but-set-variable]
> 
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> ---
>  drivers/rtc/rv3029.c |   27 +++++++++++----------------
>  1 files changed, 11 insertions(+), 16 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
Microsoft Multimedia:
You have nice graphics, sound and animations when the system crashes.


More information about the U-Boot mailing list