[x] I signed and emailed the appropriate Contributor License Agreement to GSFC-SoftwareRelease@mail.nasa.gov and copied cfs-program@lists.nasa.gov.
Describe the contribution
Fixes #36 (partially - will separate out LC_CreateTaskCDS() into a new issue to tackle separately).
Multiple returns have been removed from LC_TableInit().
There is now a single exit from the function.
Testing performed
GitHub CI Build + Run, Unit Tests all passing successfully.
Expected behavior changes
Essentially no change to logic.
Previous early return exit points will now fail all the following tests for if (Result == CFE_SUCCESS) and fall through to the end of the function, where Result is returned.
Checklist
Describe the contribution
LC_CreateTaskCDS()
into a new issue to tackle separately).LC_TableInit()
.Testing performed GitHub CI Build + Run, Unit Tests all passing successfully.
Expected behavior changes Essentially no change to logic. Previous early
return
exit points will now fail all the following tests forif (Result == CFE_SUCCESS)
and fall through to the end of the function, whereResult
is returned.Contributor Info Avi Weiss @thnkslprpt