Describe the bug
CFE_MSG_GetMsgId returns a status value to indicate success or failure of the call, but neither of the usages in the sample app check if it is successful nor do they state that the return value is ignored by design.
To Reproduce
N/A
Expected behavior
Sample app should either make use of the return value to verify success or should note the reason why this is not being done.
Code snips
|
CFE_MSG_GetMsgId(&SBBufPtr->Msg, &MsgId); |
|
CFE_MSG_GetMsgId(MsgPtr, &MsgId); |
System observed on:
N/A
Reporter Info
Alan Gibson NASA/GSFC 587