Skip to content

Commit 185b836

Browse files
committed
chore: suppress C lint warnings
1 parent d69dfcf commit 185b836

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/node_modules/@stdlib/blas/ext/base/cfill/benchmark/c/benchmark.length.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ static double benchmark1( int iterations, int len ) {
109109
}
110110
t = tic();
111111
for ( i = 0; i < iterations; i++ ) {
112+
// cppcheck-suppress uninitvar
112113
stdlib_strided_cfill( len, alpha, (stdlib_complex64_t *)x, 1 );
113114
if ( x[ 0 ] != x[ 0 ] ) {
114115
printf( "should not return NaN\n" );
@@ -143,6 +144,7 @@ static double benchmark2( int iterations, int len ) {
143144
}
144145
t = tic();
145146
for ( i = 0; i < iterations; i++ ) {
147+
// cppcheck-suppress uninitvar
146148
stdlib_strided_cfill_ndarray( len, alpha, (stdlib_complex64_t *)x, 1, 0 );
147149
if ( x[ 0 ] != x[ 0 ] ) {
148150
printf( "should not return NaN\n" );

0 commit comments

Comments
 (0)