Skip to content

Commit

Permalink
Fix #79, Combine consecutive, mutually-exclusive status checks
Browse files Browse the repository at this point in the history
  • Loading branch information
thnkslprpt committed Mar 14, 2023
1 parent 2f177ae commit 3a2318c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fsw/src/lc_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -515,8 +515,7 @@ int32 LC_CreateResultTables(void)
CFE_EVS_SendEvent(LC_WRT_REGISTER_ERR_EID, CFE_EVS_EventType_ERROR, "Error registering WRT, RC=0x%08X",
(unsigned int)Result);
}

if (Result == CFE_SUCCESS)
else
{
Result = CFE_TBL_GetAddress((void *)&LC_OperData.WRTPtr, LC_OperData.WRTHandle);

Expand Down

0 comments on commit 3a2318c

Please sign in to comment.