mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Fix more warnings in math_brute_force (#1502)
* Fix "‘nadj’ may be used uninitialized in this function [-Werror=maybe-uninitialized]". * Fix "specified bound 4096 equals destination size [-Werror=stringop-truncation]". Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
This commit is contained in:
committed by
GitHub
parent
7859a33182
commit
a87e686757
@@ -1949,7 +1949,8 @@ double reference_lgamma(double x)
|
||||
w6 = -1.63092934096575273989e-03; /* 0xBF5AB89D, 0x0B9E43E4 */
|
||||
|
||||
static const double zero = 0.00000000000000000000e+00;
|
||||
double t, y, z, nadj, p, p1, p2, p3, q, r, w;
|
||||
double nadj = zero;
|
||||
double t, y, z, p, p1, p2, p3, q, r, w;
|
||||
cl_int i, hx, lx, ix;
|
||||
|
||||
union {
|
||||
|
||||
Reference in New Issue
Block a user