From 5909506e48a99eddea51d206fde147a5183138d1 Mon Sep 17 00:00:00 2001 From: JavaTypedScript Date: Sat, 20 Dec 2025 13:01:02 +0000 Subject: [PATCH] chore: fix C lint errors(issue #9267) --- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: missing_dependencies - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- .../@stdlib/stats/strided/smean/benchmark/c/benchmark.length.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/node_modules/@stdlib/stats/strided/smean/benchmark/c/benchmark.length.c b/lib/node_modules/@stdlib/stats/strided/smean/benchmark/c/benchmark.length.c index 99767ea023a4..b308bfa27d05 100644 --- a/lib/node_modules/@stdlib/stats/strided/smean/benchmark/c/benchmark.length.c +++ b/lib/node_modules/@stdlib/stats/strided/smean/benchmark/c/benchmark.length.c @@ -107,6 +107,7 @@ static double benchmark( int iterations, int len ) { v = 0.0f; t = tic(); for ( i = 0; i < iterations; i++ ) { + // cppcheck-suppress uninitvar v = stdlib_strided_smean( len, x, 1 ); if ( v != v ) { printf( "should not return NaN\n" );