Skip to content

Commit b0b646a

Browse files
authored
bench: suppress uninitialized variable warning
PR-URL: #5523 Closes: #5503 Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 0999aba commit b0b646a

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)