Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix C lint errors #6114

Closed
wants to merge 5 commits into from

Conversation

Shivam-1827
Copy link
Contributor

Resolves #6105

Description

What is the purpose of this pull request?

This pull request:

  • Fixes a coding style issue where the variable x1 was not declared as a pointer to const in t_u.c.
  • Updates all occurrences where x1 can be declared as const, improving code safety and reducing unintended modifications.

Related Issues

Does this pull request have any related issues?

This pull request:

Questions

Any questions for reviewers of this pull request?

No.

Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

  • The changes were applied to the following lines in t_u.c:
    • 209, 296, 383, 470, 557, 644, 731, 818, 905, 992, 1079, 1166, 1253, 1340, 1427, 1514, 1601, 1688, 1775, 1862
  • Ensured the changes follow the required coding style guidelines.

Checklist

Please ensure the following tasks are completed before submitting this pull request.


@stdlib-js/reviewers

@stdlib-bot stdlib-bot added the Needs Review A pull request which needs code review. label Mar 17, 2025
@stdlib-bot
Copy link
Contributor

stdlib-bot commented Mar 17, 2025

Coverage Report

Package Statements Branches Functions Lines
ndarray/base/assign $\color{red}4632/10439$
$\color{green}+44.37\%$
$\color{green}44/44$
$\color{green}+100.00\%$
$\color{red}0/43$
$\color{green}+0.00\%$
$\color{red}4632/10439$
$\color{green}+44.37\%$

The above coverage report was generated for the changes in this PR.

@Shivam-1827 Shivam-1827 deleted the fix/C-lint-error branch March 17, 2025 11:57
@stdlib-bot stdlib-bot removed the Needs Review A pull request which needs code review. label Mar 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix C lint errors
2 participants