You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the solution you'd like
Initialize to 0
Scrub MSG API's to ensure documentation and implementation comply (set all outputs, and define in documentation)
Describe alternatives you've considered
None
Additional context
Static analysis warning
Requester Info
Jacob Hageman - NASA/GSFC
The text was updated successfully, but these errors were encountered:
CCB:2021-03-17 - this can be a hard pattern to follow and add complexity based on the error, not really an issue with the newer API's that return status. Less logic to initialize where needed in the calling function to squash static analysis warnings.
Is your feature request related to a problem? Please describe.
Should initialize all output parameters:
cFE/modules/msg/src/cfe_msg_ccsdspri.c
Lines 322 to 328 in 672b2dc
Describe the solution you'd like
Initialize to 0
Scrub MSG API's to ensure documentation and implementation comply (set all outputs, and define in documentation)
Describe alternatives you've considered
None
Additional context
Static analysis warning
Requester Info
Jacob Hageman - NASA/GSFC
The text was updated successfully, but these errors were encountered: