Fix C lint errors

Open Beginner friendly
#13,440 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
85/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Quiet
Tech stack
c, github-actions
Domain
ci-cd, tooling

Research direction

Open lib/node_modules/@stdlib/ndarray/base/every/src/dispatch.c at line 221 and inspect the lint diagnostic for s1. Update the declaration to satisfy constVariablePointer, then rerun the C lint workflow or equivalent lint check and confirm the reported failure is gone.

Written by the indexing model from the issue text.

Description

C Linting Failures

Linting failures were detected in the automated lint workflow run.

Workflow Details
Error Details
lib/node_modules/@stdlib/ndarray/base/every/src/dispatch.c:221:11: style: Variable 's1' can be declared as pointer to const [constVariablePointer]
 int64_t *s1;
          ^
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>".
Dominant language
JavaScript
Stars
6k
Forks
1.3k
Avg merge
1d 1h
Merged PRs (30d)
559

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from stdlib-js/stdlib

All issues in stdlib-js/stdlib

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.