nasa / nasa/CS

CS files make variable assignments that prove to be useless

Open
#144 0 comments 0 reactions 1 assignee View on GitHub

@myc-yang is already working on this.

Since Sep 10, 2026.

Dominant language
C
Stars
36
Forks
41
Avg merge
11d 19h
Merged PRs (30d)
2

Description

Checklist (Please check before submitting)

  • I reviewed the Contributing Guide.
  • I performed a cursory search to see if the bug report is relevant, not redundant, nor in conflict with other tickets.

Describe the bug
CS files make variable assignments that are overwritten regardless later on in the code, particularly during variable declaration and initialization.

To Reproduce
Bugs are detected by static code analysis

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

Code snips
If applicable, add references to the software.

System observed on:

  • Hardware: PC
  • OS: Linux

Additional context
Add any other context about the problem here.

Reporter Info
Michael Yang / NASA/GSFC

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.