Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix C lint errors #6132

Open
stdlib-bot opened this issue Mar 18, 2025 · 0 comments · May be fixed by #6153, #6151, #6193 or #6196
Open

Fix C lint errors #6132

stdlib-bot opened this issue Mar 18, 2025 · 0 comments · May be fixed by #6153, #6151, #6193 or #6196

Comments

@stdlib-bot
Copy link
Contributor

C Linting Failures

Linting failures were detected in the automated lint workflow run.

Workflow Details

Error Details


lib/node_modules/@stdlib/strided/base/dmskmap/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/dmskmap/examples/c/example.c:34:10: style: Variable 'M' can be declared as const array [constVariable]
 uint8_t M[] = { 0, 0, 1, 0, 0, 1 };
         ^
--

lib/node_modules/@stdlib/stats/base/smeanors/benchmark/c/benchmark.length.c:110:37: warning: Uninitialized variable: x [uninitvar]
  v = stdlib_strided_smeanors( len, x, 1 );
                                    ^
Eternity0207 added a commit to Eternity0207/stdlib that referenced this issue Mar 18, 2025
Eternity0207 added a commit to Eternity0207/stdlib that referenced this issue Mar 18, 2025
@JavaTypedScript JavaTypedScript linked a pull request Mar 18, 2025 that will close this issue
1 task
@JaySoni1 JaySoni1 linked a pull request Mar 19, 2025 that will close this issue
1 task
@JavaTypedScript JavaTypedScript linked a pull request Mar 19, 2025 that will close this issue
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant