Skip to content

Commit 45f8e87

Browse files
authored
Merge pull request #80 from thnkslprpt/fix-79-combine-mutually-exclusive-status-checks
Fix #79, Combine consecutive, mutually-exclusive status checks
2 parents 0df68a2 + 3a2318c commit 45f8e87

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

fsw/src/lc_app.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -522,8 +522,7 @@ int32 LC_CreateResultTables(void)
522522
CFE_EVS_SendEvent(LC_WRT_REGISTER_ERR_EID, CFE_EVS_EventType_ERROR, "Error registering WRT, RC=0x%08X",
523523
(unsigned int)Result);
524524
}
525-
526-
if (Result == CFE_SUCCESS)
525+
else
527526
{
528527
Result = CFE_TBL_GetAddress((void *)&LC_OperData.WRTPtr, LC_OperData.WRTHandle);
529528

0 commit comments

Comments
 (0)