Description
Description
In
stdlib/src/stdlib_specialfunctions_gamma.fypp
Line 580 in 68524b3
ss
is declared:
and then use here:
stdlib/src/stdlib_specialfunctions_gamma.fypp
Line 673 in 68524b3
The ss
variable is never initalized, and generates 2 warnings with
fpm build --verbose --flag '-Wmaybe-uninitialized'
..\src\temp\stdlib_specialfunctions_gamma.f90:1424:24:
1424 | m = nint(ss)
| ^
Warning: 'ss' may be used uninitialized [-Wmaybe-uninitialized]
..\src\temp\stdlib_specialfunctions_gamma.f90:1331:52:1331 | real(qp) :: res, p_lim, a, b, g, c, d, y, ss
| ^
note: 'ss' was declared here
..\src\temp\stdlib_specialfunctions_gamma.f90:1290:24:1290 | m = nint(ss)
| ^
Warning: 'ss' may be used uninitialized [-Wmaybe-uninitialized]
..\src\temp\stdlib_specialfunctions_gamma.f90:1197:52:1197 | real(dp) :: res, p_lim, a, b, g, c, d, y, ss
| ^
note: 'ss' was declared here
[ 12%] stdlib_specialfunctions_gamma. done.
Expected Behaviour
Either the value to be initialized, of the chunk of code deleted.
Version of stdlib
Platform and Architecture
Windows
Additional Information
No response