stdlib-js / stdlib-js/stdlib

Fix C lint errors

Đang mở Phù hợp với người mới
#13,440 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
6k
Fork
1.3k
Merge trung bình
1 ngày 3 giờ
Pull request đã merge (30 ngày)
611

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
c, github-actions
Lĩnh vực
ci-cd, tooling
Loại issue
Lỗi
Độ khó
1/5
Thời gian dự kiến
Dưới một giờ
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
85/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.