cmd_ecctest.c: Fix GCC 4.6 build warnings
authorStefan Roese <sr@denx.de>
Tue, 15 Nov 2011 08:02:18 +0000 (08:02 +0000)
committerWolfgang Denk <wd@denx.de>
Wed, 16 Nov 2011 20:15:20 +0000 (21:15 +0100)
commita6370da13e4f598e61f5e094ba675d27ddef41a4
treea437d5c8f3449ec0bad9f02dc8dec9875055c344
parent8f6db4b7abb72938cb89d12b221698eb29cf2940
cmd_ecctest.c: Fix GCC 4.6 build warnings

Fix:
cmd_ecctest.c: In function 'inject_ecc_error':
cmd_ecctest.c:116:6: warning: variable 'val' set but not used [-Wunused-but-set-variable]
cmd_ecctest.c: In function 'rewrite_ecc_parity':
cmd_ecctest.c:154:6: warning: variable 'val' set but not used [-Wunused-but-set-variable]

Signed-off-by: Stefan Roese <sr@denx.de>
arch/powerpc/cpu/ppc4xx/cmd_ecctest.c