[U-Boot] [PATCH 05/56] board/tqc/tqm5200/cmd_stk52xx.c: fix GC 4.6 build warnings
Wolfgang Denk
wd at denx.de
Mon Nov 7 22:10:12 CET 2011
Dear Wolfgang Denk,
In message <1320458160-23136-6-git-send-email-wd at denx.de> you wrote:
> Fix:
> cmd_stk52xx.c: In function 'spi_transmit':
> cmd_stk52xx.c:85:6: warning: variable 'dummy' set but not used
> [-Wunused-but-set-variable]
> cmd_stk52xx.c: In function 'i2s_play_wave':
> cmd_stk52xx.c:199:3: warning: dereferencing type-punned pointer will
> break strict-aliasing rules [-Wstrict-aliasing]
>
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> ---
> board/tqc/tqm5200/cmd_stk52xx.c | 23 ++++++++++++-----------
> 1 files changed, 12 insertions(+), 11 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
One difference between a man and a machine is that a machine is quiet
when well oiled.
More information about the U-Boot
mailing list