Skip to content

Commit d3c674c

Browse files
fix: uninitvar
1 parent 0afa422 commit d3c674c

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

lib/node_modules/@stdlib/stats/base/dsmeanwd/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 benchmark1( int iterations, int len ) {
107107
v = 0.0f;
108108
t = tic();
109109
for ( i = 0; i < iterations; i++ ) {
110+
// cppcheck-suppress uninitvar
110111
v = stdlib_strided_dsmeanwd( len, x, 1 );
111112
if ( v != v ) {
112113
printf( "should not return NaN\n" );

lib/node_modules/@stdlib/stats/base/dsmeanwd/test/test.dsmeanwd.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ tape( 'the function supports a `stride` parameter', function test( t ) {
107107
});
108108

109109
tape( 'the function supports a negative `stride` parameter', function test( t ) {
110-
var N;
111110
var x;
112111
var v;
113112

0 commit comments

Comments
 (0)