@@ -23,8 +23,8 @@ test01<float>()
23
23
float xf = std::numeric_limits<float >::quiet_NaN ();
24
24
float nuf = 0 .0F ;
25
25
26
- float a = std::cyl_bessel_i (nuf, xf);
27
- float b = std::cyl_bessel_if (nuf, xf);
26
+ [[maybe_unused]] float a = std::cyl_bessel_i (nuf, xf);
27
+ [[maybe_unused]] float b = std::cyl_bessel_if (nuf, xf);
28
28
29
29
assert (std::isnan (a));
30
30
assert (std::isnan (b));
@@ -36,7 +36,7 @@ test01<double>()
36
36
{
37
37
double xd = std::numeric_limits<double >::quiet_NaN ();
38
38
double nud = 0.0 ;
39
- double c = std::cyl_bessel_i (nud, xd);
39
+ [[maybe_unused]] double c = std::cyl_bessel_i (nud, xd);
40
40
41
41
assert (std::isnan (c));
42
42
}
@@ -48,8 +48,8 @@ test02<float>()
48
48
float xf = 1 .0F ;
49
49
float nuf = std::numeric_limits<float >::quiet_NaN ();
50
50
51
- float a = std::cyl_bessel_i (nuf, xf);
52
- float b = std::cyl_bessel_if (nuf, xf);
51
+ [[maybe_unused]] float a = std::cyl_bessel_i (nuf, xf);
52
+ [[maybe_unused]] float b = std::cyl_bessel_if (nuf, xf);
53
53
54
54
assert (std::isnan (a));
55
55
assert (std::isnan (b));
@@ -61,7 +61,7 @@ test02<double>()
61
61
{
62
62
double xd = 1.0 ;
63
63
double nud = std::numeric_limits<double >::quiet_NaN ();
64
- double c = std::cyl_bessel_i (nud, xd);
64
+ [[maybe_unused]] double c = std::cyl_bessel_i (nud, xd);
65
65
66
66
assert (std::isnan (c));
67
67
}
0 commit comments