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

[CCOLAMD] Variable cs set but not used #38

Closed
acxz opened this issue May 11, 2020 · 1 comment
Closed

[CCOLAMD] Variable cs set but not used #38

acxz opened this issue May 11, 2020 · 1 comment
Assignees

Comments

@acxz
Copy link

acxz commented May 11, 2020

Describe the bug
A clear and concise description of what the bug is.

CCOLAMD/Source/ccolamd.c:1563:9: warning: variable ‘cs’ set but not used [-Wunused-but-set-variable]
1563 |     Int cs ;
     |         ^~                                       

To Reproduce
Steps to reproduce the behavior.

git clone
cd CCOLAMD
make

Expected behavior
A clear and concise description of what you expected to happen.

No warnings

Screenshots
If applicable, add screenshots to help explain your problem.

N/A

Desktop (please complete the following information):

  • OS: Arch Linux
  • compiler: gcc 9.3.0
  • BLAS and LAPACK library, if applicable N/A
  • CCOLAMD Version: latest from master

Additional context
Add any other context about the problem here.

N/A

@DrTimothyAldenDavis
Copy link
Owner

This is not a bug, but intentional. The variable 'cs' is used when debug mode is enabled.

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 a pull request may close this issue.

2 participants