Skip to content

Commit 158060f

Browse files
authored
chore: fix C lint errors
PR-URL: #10625 Closes: #10622 Reviewed-by: Philipp Burckhardt <pburckhardt@outlook.com>
1 parent f838879 commit 158060f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/node_modules/@stdlib/stats/strided/dnanstdev/benchmark/c/benchmark.length.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ static double benchmark( int iterations, int len ) {
107107
v = 0.0;
108108
t = tic();
109109
for ( i = 0; i < iterations; i++ ) {
110+
// cppcheck-suppress uninitvar
110111
v = stdlib_strided_dnanstdev( len, 1.0, x, 1 );
111112
if ( v != v ) {
112113
printf( "should not return NaN\n" );

0 commit comments

Comments
 (0)