Skip to content

Fix C lint errors #6778

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

Open
stdlib-bot opened this issue Apr 22, 2025 · 0 comments
Open

Fix C lint errors #6778

stdlib-bot opened this issue Apr 22, 2025 · 0 comments

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/unary/examples/c/example.c:38:10: style: Variable 'strides' can be declared as const array [constVariable]
 int64_t strides[] = { 1, 8 }; // 1 byte per uint8, 8 bytes per double
         ^
lib/node_modules/@stdlib/strided/base/unary/examples/c/example.c:41:10: style: Variable 'shape' can be declared as const array [constVariable]
 int64_t shape[] = { 3 };
         ^

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>".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant