diff options
author | Stefan Roese <sr@denx.de> | 2011-11-15 12:02:43 +0400 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-11-17 00:16:23 +0400 |
commit | 944416e07cb7b98193d6fcca08a1c76f6feee1d2 (patch) | |
tree | 0810328e928e5f44f6cf0b85d38bb19d60de7650 /post/lib_powerpc/fpu/20001122-1.c | |
parent | 4a1272662adf5970ebd78ab7590d970f621e05ec (diff) | |
download | u-boot-944416e07cb7b98193d6fcca08a1c76f6feee1d2.tar.xz |
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 <sr@denx.de>
Diffstat (limited to 'post/lib_powerpc/fpu/20001122-1.c')
-rw-r--r-- | post/lib_powerpc/fpu/20001122-1.c | 3 |
1 files changed, 1 insertions, 2 deletions
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 { |