From a016c699630e39dd55c921730ef77472ef88f998 Mon Sep 17 00:00:00 2001 From: Yugal Kaushik Date: Sat, 1 Mar 2025 02:03:32 +0530 Subject: [PATCH] fix: suppress uninitialized variable warnings in benchmark --- .../math/strided/special/smskceil/benchmark/c/benchmark.length.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/node_modules/@stdlib/math/strided/special/smskceil/benchmark/c/benchmark.length.c b/lib/node_modules/@stdlib/math/strided/special/smskceil/benchmark/c/benchmark.length.c index c634a4df0243..4d183cbddc6e 100644 --- a/lib/node_modules/@stdlib/math/strided/special/smskceil/benchmark/c/benchmark.length.c +++ b/lib/node_modules/@stdlib/math/strided/special/smskceil/benchmark/c/benchmark.length.c @@ -128,6 +128,7 @@ static double benchmark( int iterations, int len ) { } t = tic(); for ( i = 0; i < iterations; i++ ) { + // cppcheck-suppress uninitvar stdlib_strided_smskceil( len, x, 1, m, 1, y, 1 ); if ( y[ 0 ] != y[ 0 ] ) { printf( "should not return NaN\n" );