Skip to content

Commit 34dc368

Browse files
authored
fix-c-lint-smeanpn
Signed-off-by: Dipjyoti Das <[email protected]>
1 parent 6fe4a0d commit 34dc368

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/node_modules/@stdlib/stats/base/smeanpn/benchmark/c/benchmark.length.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ static double benchmark( int iterations, int len ) {
107107
v = 0.0f;
108108
t = tic();
109109
for ( i = 0; i < iterations; i++ ) {
110+
// cppcheck-suppress uninitvar
110111
v = stdlib_strided_smeanpn( len, x, 1 );
111112
if ( v != v ) {
112113
printf( "should not return NaN\n" );

0 commit comments

Comments
 (0)