Skip to content

Commit 25c2e85

Browse files
authored
chore: fix C lint errors
PR-URL: #7278 Closes: #7257 Reviewed-by: Athan Reines <[email protected]>
1 parent d884d93 commit 25c2e85

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

0 commit comments

Comments
 (0)