From 51cfff238738d186407b476e39a07fad6bc90d5d Mon Sep 17 00:00:00 2001 From: zhanggy Date: Thu, 5 Jun 2025 08:47:30 +0800 Subject: [PATCH] chore: fix C lint errors (issue #7104) --- .../math/strided/special/sdeg2rad/benchmark/c/benchmark.length.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/node_modules/@stdlib/math/strided/special/sdeg2rad/benchmark/c/benchmark.length.c b/lib/node_modules/@stdlib/math/strided/special/sdeg2rad/benchmark/c/benchmark.length.c index 97c6b2d2e8bf..69e96f2ecde3 100644 --- a/lib/node_modules/@stdlib/math/strided/special/sdeg2rad/benchmark/c/benchmark.length.c +++ b/lib/node_modules/@stdlib/math/strided/special/sdeg2rad/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_sdeg2rad( len, x, 1, y, 1 ); if ( y[ 0 ] != y[ 0 ] ) { printf( "should not return NaN\n" );