From 64568034995de5d78cb3ffaf86564def64dca54b Mon Sep 17 00:00:00 2001 From: zhanggy Date: Tue, 22 Jul 2025 09:02:32 +0800 Subject: [PATCH] chore: fix C lint errors (issue #7714) --- .../math/strided/special/dtrunc/benchmark/c/benchmark.length.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/node_modules/@stdlib/math/strided/special/dtrunc/benchmark/c/benchmark.length.c b/lib/node_modules/@stdlib/math/strided/special/dtrunc/benchmark/c/benchmark.length.c index 52264a1f2e15..bae34a965432 100644 --- a/lib/node_modules/@stdlib/math/strided/special/dtrunc/benchmark/c/benchmark.length.c +++ b/lib/node_modules/@stdlib/math/strided/special/dtrunc/benchmark/c/benchmark.length.c @@ -125,6 +125,7 @@ static double benchmark( int iterations, int len ) { } t = tic(); for ( i = 0; i < iterations; i++ ) { + // cppcheck-suppress uninitvar stdlib_strided_dtrunc( len, x, 1, y, 1 ); if ( y[ 0 ] != y[ 0 ] ) { printf( "should not return NaN\n" );