Skip to content

Commit 79bdf8d

Browse files
authored
chore: fix C lint errors
PR-URL: #7053 Closes: #6977 Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 2e9da74 commit 79bdf8d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/node_modules/@stdlib/stats/base/snanvariance/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_snanvariance( len, 1.0f, x, 1 );
111112
if ( v != v ) {
112113
printf( "should not return NaN\n" );

0 commit comments

Comments
 (0)