]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
board/tqc/tqm5200/cmd_stk52xx.c: fix GC 4.6 build warnings
authorWolfgang Denk <wd@denx.de>
Fri, 4 Nov 2011 15:55:09 +0000 (15:55 +0000)
committerWolfgang Denk <wd@denx.de>
Mon, 7 Nov 2011 21:09:39 +0000 (22:09 +0100)
commit65766f38522cc48cab8380f7442cc489ff5020c0
tree431e585ead74e5e29a66e116d5d1fa4126eb8252
parent1c2931d4ecd6ef51d4d33f3375d3e3eb5c2fe0b3
board/tqc/tqm5200/cmd_stk52xx.c: fix GC 4.6 build warnings

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@denx.de>
board/tqc/tqm5200/cmd_stk52xx.c