From 8dd3a6aae9b37307eef4d48b740cba9cb265444d Mon Sep 17 00:00:00 2001 From: Raymond Toy <toy.raymond@gmail.com> Date: Sat, 2 Aug 2014 13:35:17 -0700 Subject: [PATCH] Initialize t to get rid of a compiler warning from clang. The compiler thinks t might not be initialized because the if on line 90 might not be true, leaving t uninitialized. We know that the condition is always true because |x| < -2^-27 in the previous line. --- src/lisp/e_asin.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lisp/e_asin.c b/src/lisp/e_asin.c index 9b476a46e..4aa6c6325 100644 --- a/src/lisp/e_asin.c +++ b/src/lisp/e_asin.c @@ -73,7 +73,8 @@ qS4 = 7.70381505559019352791e-02; /* 0x3FB3B8C5, 0xB12E9282 */ double x; #endif { - double t,w,p,q,c,r,s; + double t = 0; + double w,p,q,c,r,s; int hx,ix; union { int i[2]; double d; } ux; -- GitLab