Skip to content

Commit

Permalink
Fix #2495, Remove superfluous status assignment in CFE_SB_CreatePipe
Browse files Browse the repository at this point in the history
  • Loading branch information
thnkslprpt committed Jan 15, 2024
1 parent 7f5ebcd commit 7d7a826
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions modules/sb/fsw/src/cfe_sb_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,12 +161,7 @@ CFE_Status_t CFE_SB_CreatePipe(CFE_SB_PipeId_t *PipeIdPtr, uint16 Depth, const c
{
/* create the queue */
OsStatus = OS_QueueCreate(&SysQueueId, PipeName, Depth, sizeof(CFE_SB_BufferD_t *), 0);
if (OsStatus == OS_SUCCESS)
{
/* just translate the RC to CFE */
Status = CFE_SUCCESS;
}
else
if (OsStatus != OS_SUCCESS)
{
if (OsStatus == OS_ERR_NAME_TAKEN)
{
Expand Down

0 comments on commit 7d7a826

Please sign in to comment.