Skip to content
Snippets Groups Projects
Commit 08fd3e4e authored by Raymond Toy's avatar Raymond Toy
Browse files

Initialize k to get rid of a compiler warning from clang.

The compiler thinks k might not be initialized  because the if on line
143 might not be true, leaving t uninitialized.  We know that the
condition is always true because |x| < -2^-28 in the previous line.
parent 8dd3a6aa
No related branches found
No related tags found
No related merge requests found
......@@ -106,7 +106,8 @@ P5 = 4.13813679705723846039e-08; /* 0x3E663769, 0x72BEA4D0 */
#endif
{
double y,hi,lo,c,t;
int k,xsb;
int k = 0;
int xsb;
unsigned hx;
union { int i[2]; double d; } ux;
......
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