Closed
Description
C Linting Failures
Linting failures were detected in the automated lint workflow run.
Workflow Details
- Run: https://github.com/stdlib-js/stdlib/actions/runs/15405343576
- Type: C Linting
- Date: 2025-06-03 00:15:38 UTC
Error Details
lib/node_modules/@stdlib/stats/base/snanmskmax/examples/c/example.c:25:8: style: Variable 'x' can be declared as const array [constVariable]
float x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0 };
^
lib/node_modules/@stdlib/stats/base/snanmskmax/examples/c/example.c:28:10: style: Variable 'mask' can be declared as const array [constVariable]
uint8_t mask[] = { 0, 0, 0, 0, 0, 0, 0, 0, 1, 1 };
^
--
lib/node_modules/@stdlib/math/strided/special/dfloor/benchmark/c/benchmark.length.c:128:31: warning: Uninitialized variable: x [uninitvar]
stdlib_strided_dfloor( len, x, 1, y, 1 );
^
Pull Request Instructions
- Please use the following PR title format:
"chore: fix C lint errors (issue #<ISSUE_NUMBER>)". - Reference this issue in the "Related Issues" section of the PR body as "resolves #<ISSUE_NUMBER>".
Metadata
Metadata
Assignees
Labels
No labels