From: Stefan Roese Date: Tue, 15 Nov 2011 08:02:43 +0000 (+0000) Subject: 20001122-1.c: Fix GCC 4.6 build warning X-Git-Tag: v2011.12-rc1~190 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=944416e07cb7b98193d6fcca08a1c76f6feee1d2;p=u-boot 20001122-1.c: Fix GCC 4.6 build warning Fix: 20001122-1.c: In function 'fpu_post_test_math1': 20001122-1.c:37:22: warning: variable 'p' set but not used [-Wunused-but-set-variable] Signed-off-by: Stefan Roese --- diff --git a/post/lib_powerpc/fpu/20001122-1.c b/post/lib_powerpc/fpu/20001122-1.c index 4af300d880..5b4f42c6d2 100644 --- a/post/lib_powerpc/fpu/20001122-1.c +++ b/post/lib_powerpc/fpu/20001122-1.c @@ -34,12 +34,11 @@ GNU_FPOST_ATTR int fpu_post_test_math1 (void) { - volatile double a, *p; + volatile double a; double c, d; volatile double b; d = 1.0; - p = &b; do {