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

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


Dear Wolfgang Denk,

In message <1320458160-23136-9-git-send-email-wd at denx.de> you wrote:
> Fix:
> ds3231.c: In function 'rtc_get':
> ds3231.c:90:52: warning: variable 'control' set but not used
> [-Wunused-but-set-variable]
> 
> Fix is done by switching to standard debug() instead of custom macro.
> 
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> ---
>  drivers/rtc/ds3231.c |   16 +++-------------
>  1 files changed, 3 insertions(+), 13 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 put off for tomorrow what you can  do  today,  because  if  you
enjoy it today you can do it again tomorrow.


More information about the U-Boot mailing list