[U-Boot] [PATCH 3/5] GCC4.6: Squash warning in usb_storage.c

Wolfgang Denk wd at denx.de
Thu Oct 27 23:58:58 CEST 2011


Dear Marek Vasut,

In message <1319535558-20782-4-git-send-email-marek.vasut at gmail.com> you wrote:
> usb_storage.c: In function ‘usb_stor_CB_reset’:
> usb_storage.c:466:6: warning: variable ‘result’ 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>
> ---
>  common/usb_storage.c |    7 ++++---
>  1 files changed, 4 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
If I ever needed a brain transplant, I'd choose a teenager's  because
I'd want a brain that had never been used.


More information about the U-Boot mailing list