Skip to content

Commit 8963c18

Browse files
authored
chore: fix C lint errors
PR-URL: #7459 Closes: #6475 Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 647aefa commit 8963c18

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

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

0 commit comments

Comments
 (0)