stdlib-js/stdlib

Fix C lint errors

stdlib-bot opened this issue · 1 comments

C Linting Failures

Linting failures were detected in the automated lint workflow run.

Workflow Details

Error Details

lib/node_modules/@stdlib/ndarray/base/assign/src/t_u.c:209:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
 STDLIB_NDARRAY_ASSIGN_1D_LOOP_CAST( uint16_t, uint32_t )
 ^
lib/node_modules/@stdlib/ndarray/base/assign/src/t_u.c:296:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
 STDLIB_NDARRAY_ASSIGN_2D_LOOP_CAST( uint16_t, uint32_t )
 ^
lib/node_modules/@stdlib/ndarray/base/assign/src/t_u.c:383:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
 STDLIB_NDARRAY_ASSIGN_2D_BLOCKED_LOOP_CAST( uint16_t, uint32_t )
 ^
lib/node_modules/@stdlib/ndarray/base/assign/src/t_u.c:470:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
 STDLIB_NDARRAY_ASSIGN_3D_LOOP_CAST( uint16_t, uint32_t )
 ^
lib/node_modules/@stdlib/ndarray/base/assign/src/t_u.c:557:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
 STDLIB_NDARRAY_ASSIGN_3D_BLOCKED_LOOP_CAST( uint16_t, uint32_t )
 ^
lib/node_modules/@stdlib/ndarray/base/assign/src/t_u.c:644:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
 STDLIB_NDARRAY_ASSIGN_4D_LOOP_CAST( uint16_t, uint32_t )
 ^
lib/node_modules/@stdlib/ndarray/base/assign/src/t_u.c:731:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
 STDLIB_NDARRAY_ASSIGN_4D_BLOCKED_LOOP_CAST( uint16_t, uint32_t )
 ^
lib/node_modules/@stdlib/ndarray/base/assign/src/t_u.c:818:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
 STDLIB_NDARRAY_ASSIGN_5D_LOOP_CAST( uint16_t, uint32_t )
 ^
lib/node_modules/@stdlib/ndarray/base/assign/src/t_u.c:905:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
 STDLIB_NDARRAY_ASSIGN_5D_BLOCKED_LOOP_CAST( uint16_t, uint32_t )
 ^
lib/node_modules/@stdlib/ndarray/base/assign/src/t_u.c:992:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
 STDLIB_NDARRAY_ASSIGN_6D_LOOP_CAST( uint16_t, uint32_t )
 ^
lib/node_modules/@stdlib/ndarray/base/assign/src/t_u.c:1079:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
 STDLIB_NDARRAY_ASSIGN_6D_BLOCKED_LOOP_CAST( uint16_t, uint32_t )
 ^
lib/node_modules/@stdlib/ndarray/base/assign/src/t_u.c:1166:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
 STDLIB_NDARRAY_ASSIGN_7D_LOOP_CAST( uint16_t, uint32_t )
 ^
lib/node_modules/@stdlib/ndarray/base/assign/src/t_u.c:1253:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
 STDLIB_NDARRAY_ASSIGN_7D_BLOCKED_LOOP_CAST( uint16_t, uint32_t )
 ^
lib/node_modules/@stdlib/ndarray/base/assign/src/t_u.c:1340:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
 STDLIB_NDARRAY_ASSIGN_8D_LOOP_CAST( uint16_t, uint32_t )
 ^
lib/node_modules/@stdlib/ndarray/base/assign/src/t_u.c:1427:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
 STDLIB_NDARRAY_ASSIGN_8D_BLOCKED_LOOP_CAST( uint16_t, uint32_t )
 ^
lib/node_modules/@stdlib/ndarray/base/assign/src/t_u.c:1514:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
 STDLIB_NDARRAY_ASSIGN_9D_LOOP_CAST( uint16_t, uint32_t )
 ^
lib/node_modules/@stdlib/ndarray/base/assign/src/t_u.c:1601:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
 STDLIB_NDARRAY_ASSIGN_9D_BLOCKED_LOOP_CAST( uint16_t, uint32_t )
 ^
lib/node_modules/@stdlib/ndarray/base/assign/src/t_u.c:1688:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
 STDLIB_NDARRAY_ASSIGN_10D_LOOP_CAST( uint16_t, uint32_t )
 ^
lib/node_modules/@stdlib/ndarray/base/assign/src/t_u.c:1775:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
 STDLIB_NDARRAY_ASSIGN_10D_BLOCKED_LOOP_CAST( uint16_t, uint32_t )
 ^
lib/node_modules/@stdlib/ndarray/base/assign/src/t_u.c:1862:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
 STDLIB_NDARRAY_ASSIGN_ND_LOOP_CAST( uint16_t, uint32_t )
 ^