-
-
Notifications
You must be signed in to change notification settings - Fork 934
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/19086665247
- Type: C Linting
- Date: 2025-11-05 00:18:43 UTC
Error Details
lib/node_modules/@stdlib/strided/base/dmskmap2/examples/c/example.c:31:9: style: Variable 'X' can be declared as const array [constVariable]
double X[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 };
^
lib/node_modules/@stdlib/strided/base/dmskmap2/examples/c/example.c:32:9: style: Variable 'Y' can be declared as const array [constVariable]
double Y[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 };
^
lib/node_modules/@stdlib/strided/base/dmskmap2/examples/c/example.c:35:10: style: Variable 'M' can be declared as const array [constVariable]
uint8_t M[] = { 0, 0, 1, 0, 0, 1 };
^
--
lib/node_modules/@stdlib/strided/base/smap/benchmark/c/benchmark.length.c:120:29: warning: Uninitialized variable: x [uninitvar]
stdlib_strided_smap( len, x, 1, y, 1, identity );
^
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