]> git.sur5r.net Git - u-boot/commitdiff
20001122-1.c: Fix GCC 4.6 build warning
authorStefan Roese <sr@denx.de>
Tue, 15 Nov 2011 08:02:43 +0000 (08:02 +0000)
committerWolfgang Denk <wd@denx.de>
Wed, 16 Nov 2011 20:16:23 +0000 (21:16 +0100)
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 <sr@denx.de>
post/lib_powerpc/fpu/20001122-1.c

index 4af300d880ac1c21a44a1eba919d3940b3465a3d..5b4f42c6d22a1496d760f7b5712d58d7d45564a9 100644 (file)
@@ -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
        {