Skip to content

Commit

Permalink
Fix #1933, Remove unreachable/dead branch in CFE_ES_RunPerfLogDump()
Browse files Browse the repository at this point in the history
  • Loading branch information
thnkslprpt committed May 6, 2023
1 parent e3b6767 commit 0d01cfe
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions modules/es/fsw/src/cfe_es_perf.c
Original file line number Diff line number Diff line change
Expand Up @@ -462,11 +462,7 @@ bool CFE_ES_RunPerfLogDump(uint32 ElapsedTime, void *Arg)
{
CFE_ES_FileWriteByteCntErr(State->DataFileName, BlockSize, Status);

/* skip to cleanup */
if (State->CurrentState < CFE_ES_PerfDumpState_CLEANUP)
{
State->PendingState = CFE_ES_PerfDumpState_CLEANUP;
}
State->PendingState = CFE_ES_PerfDumpState_CLEANUP;
}
else
{
Expand Down

0 comments on commit 0d01cfe

Please sign in to comment.