projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a12726
)
20001122-1.c: Fix GCC 4.6 build warning
author
Stefan Roese
<sr@denx.de>
Tue, 15 Nov 2011 08:02:43 +0000
(08:02 +0000)
committer
Wolfgang 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
patch
|
blob
|
history
diff --git
a/post/lib_powerpc/fpu/20001122-1.c
b/post/lib_powerpc/fpu/20001122-1.c
index 4af300d880ac1c21a44a1eba919d3940b3465a3d..5b4f42c6d22a1496d760f7b5712d58d7d45564a9 100644
(file)
--- 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
{