Browse Source

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>
master
Stefan Roese 9 years ago
committed by Wolfgang Denk
parent
commit
944416e07c
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      post/lib_powerpc/fpu/20001122-1.c

+ 1
- 2
post/lib_powerpc/fpu/20001122-1.c View 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
{


Loading…
Cancel
Save