Fix #144, remove overwritten checksum variable assignments - #145
Closed
sylvesterkaczmarek wants to merge 2 commits into
Closed
sylvesterkaczmarek wants to merge 2 commits into
sylvesterkaczmarek wants to merge 2 commits into
Conversation
Author
|
Applied clang-format 19 with the current cFS configuration to the declarations flagged by CI. Whitespace-only changes; the application coverage targets pass for 20 repetitions, and optimized flight objects remain identical to the pre-format baseline. Awaiting the new CI results. |
|
Thank you for your contribution, Sylvester. I wrote issue #144 because we are evaluating various static code analysis tools and then apply its findings to the code. I already have a PR submitted, which I believe incorporates all of the changes in this PR, as well as others. Feel free to review and comment on it if you wish. |
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #144.
Remove 24 overwritten initializations and assignments across checksum commands, table processing, compute routines, and utilities. Retain initialization required by error paths and checksum accumulation. No API, telemetry, command, or intended runtime behavior changes.
Validation
Debian 12 arm64, GCC 12.2, native cFE/OSAL configuration with EDS disabled:
-O2 -g0 -fno-ident; the build also enables uninitialized-variable warnings as errors.git diff --checkpassed.Existing tests are unchanged because this removes dead stores without adding behavior. Full mission/COSMOS and hardware tests were not run.
Contributor: Sylvester Kaczmarek, Personal. No third-party code added. Contributor License Agreement submission status is unverified.