stdlib-js / stdlib-js/stdlib

Fix C lint errors

Open Beginner friendly
#13,440 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
6k
Forks
1.3k
Avg merge
1d 3h
Merged PRs (30d)
611

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/29215027911
- Type: C Linting
- Date: 2026-07-13 00:35:50 UTC

### 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 #)".
- Reference this issue in the "Related Issues" section of the PR body as "resolves #".

Contributor guide

Open the contributing guide

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.