[U-Boot] [PATCH 50/56] common/cmd_i2c.c: Fix GCC 4.6 build warning

Wolfgang Denk wd at denx.de
Mon Nov 7 22:16:19 CET 2011


Dear Wolfgang Denk,

In message <1320458160-23136-51-git-send-email-wd at denx.de> you wrote:
> Fix:
> cmd_i2c.c: In function 'do_i2c_add_bus':
> cmd_i2c.c:1212:19: warning: variable 'dev' set but not used
> [-Wunused-but-set-variable]
> 
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> Cc: Heiko Schocher <hs at denx.de>
> ---
>  common/cmd_i2c.c |    4 +---
>  1 files changed, 1 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've got to get something inside me. Some coffee  or  something.  And
then the world will somehow be better.
                                     - Terry Pratchett, _Men at Arms_


More information about the U-Boot mailing list