stdlib-js / stdlib-js/stdlib

Fix C lint errors

未关闭 适合新手
#13,440 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
6k
派生
1.3k
平均合并
1 天 3 小时
30 天内合并 PR
611

描述

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

贡献指南

打开贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

技术栈
c, github-actions
领域
ci-cd, tooling
Issue 类型
缺陷
难度
1/5
预计耗时
1 小时以内
活跃度
冷清
描述清晰度
描述清楚
新手友好度
85/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。