Skip to content

Commit a016c69

Browse files
committed
fix: suppress uninitialized variable warnings in benchmark
1 parent 4efada9 commit a016c69

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/node_modules/@stdlib/math/strided/special/smskceil/benchmark/c/benchmark.length.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ static double benchmark( int iterations, int len ) {
128128
}
129129
t = tic();
130130
for ( i = 0; i < iterations; i++ ) {
131+
// cppcheck-suppress uninitvar
131132
stdlib_strided_smskceil( len, x, 1, m, 1, y, 1 );
132133
if ( y[ 0 ] != y[ 0 ] ) {
133134
printf( "should not return NaN\n" );

0 commit comments

Comments
 (0)