nasa / FM

The Core Flight System (cFS) File Manager (FM) application.
Apache License 2.0
43 stars 25 forks source link

Fix #57, Remove redundant/inconsistent comments (/* end of function */, /* end if */ etc.) and clean up empty lines. #58

Closed thnkslprpt closed 2 years ago

thnkslprpt commented 2 years ago

Checklist

Describe the contribution Fixes #57 Removes redundant and inconsistent comments (e.g. /* end of function */, /* end if */, function name in function header comments). There were also a few cases of unnecessary empty lines (e.g. on the last line before the closing brace of a function) and also missing empty lines (e.g. between functions) which were corrected. Some of these empty lines trigger the CI format checks. I've left the commits separated for now to make life easier for whoever reviews this. I can squash them if/when this is ready for merge.

Testing performed None (comment and whitespace changes only).

Expected behavior changes No impact on behavior. These updates will reduce clutter and inconsistency in the code, improving readability.

Contributor Info @thnkslprpt

dzbaker commented 2 years ago

@thnkslprpt CCB 13 October 2022: Approved pending squash of commits and ensuring that commit message follows format and internal review of changes.

thnkslprpt commented 2 years ago

@thnkslprpt CCB 13 October 2022: Approved pending squash of commits and ensuring that commit message follows format and internal review of changes.

That's done now.

thnkslprpt commented 2 years ago

End of file comments were not removed.

I added those now Haven. Cheers