Skip to content

Commit 1260ab1

Browse files
authored
chore: fix C lint errors
PR-URL: #8252 Closes: #8249 Reviewed-by: Athan Reines <[email protected]>
1 parent 0355c28 commit 1260ab1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ static double benchmark( int iterations, int len ) {
120120
}
121121
t = tic();
122122
for ( i = 0; i < iterations; i++ ) {
123+
// cppcheck-suppress uninitvar
123124
stdlib_strided_smskmap( len, x, 1, m, 1, y, 1, identity );
124125
if ( y[ i%len ] != y[ i%len ] ) {
125126
printf( "should not return NaN\n" );

0 commit comments

Comments
 (0)