stdlib-js / stdlib-js/stdlib

Fix C lint errors

Đang mở
#5,362 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/13468489600
- Type: C Linting
- Date: 2025-02-22 02:21:23 UTC

### Error Details

```
lib/node_modules/@stdlib/ndarray/base/nullary/src/f_as_t.c:196:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
STDLIB_NDARRAY_NULLARY_1D_LOOP_CLBK( float )
^
lib/node_modules/@stdlib/ndarray/base/nullary/src/f_as_t.c:279:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
STDLIB_NDARRAY_NULLARY_2D_LOOP_CLBK( float )
^
lib/node_modules/@stdlib/ndarray/base/nullary/src/f_as_t.c:362:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
STDLIB_NDARRAY_NULLARY_2D_BLOCKED_LOOP_CLBK( float )
^
lib/node_modules/@stdlib/ndarray/base/nullary/src/f_as_t.c:445:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
STDLIB_NDARRAY_NULLARY_3D_LOOP_CLBK( float )
^
lib/node_modules/@stdlib/ndarray/base/nullary/src/f_as_t.c:528:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
STDLIB_NDARRAY_NULLARY_3D_BLOCKED_LOOP_CLBK( float )
^
lib/node_modules/@stdlib/ndarray/base/nullary/src/f_as_t.c:611:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
STDLIB_NDARRAY_NULLARY_4D_LOOP_CLBK( float )
^
lib/node_modules/@stdlib/ndarray/base/nullary/src/f_as_t.c:694:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
STDLIB_NDARRAY_NULLARY_4D_BLOCKED_LOOP_CLBK( float )
^
lib/node_modules/@stdlib/ndarray/base/nullary/src/f_as_t.c:777:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
STDLIB_NDARRAY_NULLARY_5D_LOOP_CLBK( float )
^
lib/node_modules/@stdlib/ndarray/base/nullary/src/f_as_t.c:860:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
STDLIB_NDARRAY_NULLARY_5D_BLOCKED_LOOP_CLBK( float )
^
lib/node_modules/@stdlib/ndarray/base/nullary/src/f_as_t.c:943:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
STDLIB_NDARRAY_NULLARY_6D_LOOP_CLBK( float )
^
lib/node_modules/@stdlib/ndarray/base/nullary/src/f_as_t.c:1026:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
STDLIB_NDARRAY_NULLARY_6D_BLOCKED_LOOP_CLBK( float )
^
lib/node_modules/@stdlib/ndarray/base/nullary/src/f_as_t.c:1109:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
STDLIB_NDARRAY_NULLARY_7D_LOOP_CLBK( float )
^
lib/node_modules/@stdlib/ndarray/base/nullary/src/f_as_t.c:1192:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
STDLIB_NDARRAY_NULLARY_7D_BLOCKED_LOOP_CLBK( float )
^
lib/node_modules/@stdlib/ndarray/base/nullary/src/f_as_t.c:1275:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
STDLIB_NDARRAY_NULLARY_8D_LOOP_CLBK( float )
^
lib/node_modules/@stdlib/ndarray/base/nullary/src/f_as_t.c:1358:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
STDLIB_NDARRAY_NULLARY_8D_BLOCKED_LOOP_CLBK( float )
^
lib/node_modules/@stdlib/ndarray/base/nullary/src/f_as_t.c:1441:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
STDLIB_NDARRAY_NULLARY_9D_LOOP_CLBK( float )
^
lib/node_modules/@stdlib/ndarray/base/nullary/src/f_as_t.c:1524:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
STDLIB_NDARRAY_NULLARY_9D_BLOCKED_LOOP_CLBK( float )
^
lib/node_modules/@stdlib/ndarray/base/nullary/src/f_as_t.c:1607:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
STDLIB_NDARRAY_NULLARY_10D_LOOP_CLBK( float )
^
lib/node_modules/@stdlib/ndarray/base/nullary/src/f_as_t.c:1690:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
STDLIB_NDARRAY_NULLARY_10D_BLOCKED_LOOP_CLBK( float )
^
lib/node_modules/@stdlib/ndarray/base/nullary/src/f_as_t.c:1773:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
STDLIB_NDARRAY_NULLARY_ND_LOOP_CLBK( float )
^
```

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

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

Đánh giá

Issue này chưa được đánh giá.

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.