[U-Boot] [PATCH 54/56] mpc8220/i2c.c: Fix GCC 4.6 build warning

Wolfgang Denk wd at denx.de
Mon Nov 7 22:17:26 CET 2011


Dear Wolfgang Denk,

In message <1320458160-23136-55-git-send-email-wd at denx.de> you wrote:
> Fix:
> i2c.c: In function 'wait_for_bb':
> i2c.c:109:16: warning: variable 'temp' set but not used
> [-Wunused-but-set-variable]
> 
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> Cc: Heiko Schocher <hs at denx.de>
> ---
>  arch/powerpc/cpu/mpc8220/i2c.c |    6 ++----
>  1 files changed, 2 insertions(+), 4 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
"The whole world is about three drinks behind."     - Humphrey Bogart


More information about the U-Boot mailing list