[U-Boot] [PATCH 1/4] GCC4.6: Squash warning in cmd_date.c

Wolfgang Denk wd at denx.de
Fri Oct 28 00:01:37 CEST 2011


Dear Marek Vasut,

In message <1319535660-20881-2-git-send-email-marek.vasut at gmail.com> you wrote:
> cmd_date.c: In function ‘do_date’:
> cmd_date.c:50:6: warning: variable ‘old_bus’ set but not used
> [-Wunused-but-set-variable]
> 
> Signed-off-by: Marek Vasut <marek.vasut at gmail.com>
> Cc: Wolfgang Denk <wd at denx.de>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Mike Frysinger <vapier at gentoo.org>
> ---
>  include/i2c.h |   32 +++++++++++++++++++++++---------
>  1 files changed, 23 insertions(+), 9 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
365 Days of drinking Lo-Cal beer.                       = 1 Lite-year


More information about the U-Boot mailing list