Skip to content

Fix C lint errors #12209

@stdlib-bot

Description

@stdlib-bot

C Linting Failures

Linting failures were detected in the automated lint workflow run.

Workflow Details

Error Details


lib/node_modules/@stdlib/ndarray/base/assert/is-single-segment-compatible/benchmark/c/benchmark.c:100:10: style: Variable 'shape' can be declared as const array [constVariable]
 int64_t shape[] = { 10, 10, 10 };
         ^
lib/node_modules/@stdlib/ndarray/base/assert/is-single-segment-compatible/benchmark/c/benchmark.c:101:10: style: Variable 'strides' can be declared as const array [constVariable]
 int64_t strides[] = { 100, 10, 1 };
         ^

Pull Request Instructions

  • Please use the following PR title format:
    "chore: fix C lint errors (issue #<ISSUE_NUMBER>)".
  • Reference this issue in the "Related Issues" section of the PR body as "resolves #<ISSUE_NUMBER>".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions