Skip to content

Commit 9b22fea

Browse files
authored
chore: fix C lint errors
PR-URL: #7768 Closes: #7760 Reviewed-by: Athan Reines <[email protected]>
1 parent fd9f8d2 commit 9b22fea

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)