20001122-1.c: Fix GCC 4.6 build warning
PATCH 10/19 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 <[email protected]>
--- post/lib_powerpc/fpu/20001122-1.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
post/lib_powerpc/fpu/20001122-1.c +1 -2
@@ -34,12 +34,11 @@ GNU_FPOST_ATTRint fpu_post_test_math1 (void ) { -volatile double a, *p; +volatile double a;double c, d;volatile double b; d =1.0 ; - p = &b; do {
Signature · 1 line
1.7.7.3
Wolfgang Denk
AppliedPATCH 10/19 20001122-1.c: Fix GCC 4.6 build warning
Dear Stefan Roese,
Quoted 8 lines · In message <[email protected]> you wrote:
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 <[email protected]>--- post/lib_powerpc/fpu/20001122-1.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 6 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de The universe, they said, depended for its operation on the balance of four forces which they identified as charm, persuasion, uncertainty and bloody-mindedness. -- Terry Pratchett, "The Light Fantastic"