stdlib-js / stdlib-js/stdlib

Fix C lint errors

Aperta Adatta ai principianti
#13,440 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
6k
Fork
1.3k
Merge medio
1g 3h
PR unite (30g)
611

Descrizione

## 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 #".

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
c, github-actions
Ambito
ci-cd, tooling
Tipo di issue
Bug
Difficoltà
1/5
Tempo stimato
Meno di un'ora
Stato di attività
Tranquilla
Chiarezza
Specificata chiaramente
Idoneità per principianti
85/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.