Skip to content

Commit 79861cd

Browse files
author
zhanggy
committed
chore: fix C lint errors (issue #7760)
1 parent c8567dc commit 79861cd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/node_modules/@stdlib/strided/base/cmap/benchmark/c/benchmark.length.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ static double benchmark( int iterations, int len ) {
118118
}
119119
t = tic();
120120
for ( i = 0; i < iterations; i++ ) {
121+
// cppcheck-suppress uninitvar
121122
stdlib_strided_cmap( len, x, 1, y, 1, identity );
122123
if ( y[ i%len ] != y[ i%len ] ) {
123124
printf( "should not return NaN\n" );

0 commit comments

Comments
 (0)