Skip to content
Snippets Groups Projects
Commit 944416e0 authored by Stefan Roese's avatar Stefan Roese Committed by Wolfgang Denk
Browse files

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: default avatarStefan Roese <sr@denx.de>
parent 4a127266
No related merge requests found
...@@ -34,12 +34,11 @@ GNU_FPOST_ATTR ...@@ -34,12 +34,11 @@ GNU_FPOST_ATTR
int fpu_post_test_math1 (void) int fpu_post_test_math1 (void)
{ {
volatile double a, *p; volatile double a;
double c, d; double c, d;
volatile double b; volatile double b;
d = 1.0; d = 1.0;
p = &b;
do do
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment