Commit 944416e07cb7b98193d6fcca08a1c76f6feee1d2

Authored by Stefan Roese
Committed by Wolfgang Denk
1 parent 4a1272662a

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>

Showing 1 changed file with 1 additions and 2 deletions Side-by-side Diff

post/lib_powerpc/fpu/20001122-1.c
... ... @@ -34,12 +34,11 @@
34 34  
35 35 int fpu_post_test_math1 (void)
36 36 {
37   - volatile double a, *p;
  37 + volatile double a;
38 38 double c, d;
39 39 volatile double b;
40 40  
41 41 d = 1.0;
42   - p = &b;
43 42  
44 43 do
45 44 {