Skip to content

Commit

Permalink
Fix #76, Squash static analysis (CodeQL) uninitialized variable warning
Browse files Browse the repository at this point in the history
  • Loading branch information
thnkslprpt committed Mar 13, 2023
1 parent 487169b commit dd4feb8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions fsw/src/sc_atsrq.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,11 +179,11 @@ void SC_StopAtsCmd(const CFE_SB_Buffer_t *BufPtr)
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
bool SC_BeginAts(uint16 AtsIndex, uint16 TimeOffset)
{
SC_AtsEntryHeader_t *Entry; /* ATS table entry pointer */
int32 EntryIndex; /* ATS entry location in table */
SC_AbsTimeTag_t ListCmdTime; /* list entry execution time */
int32 TimeIndex; /* the current time buffer index */
int32 CmdIndex; /* ATS command index (cmd num - 1) */
SC_AtsEntryHeader_t *Entry; /* ATS table entry pointer */
int32 EntryIndex; /* ATS entry location in table */
SC_AbsTimeTag_t ListCmdTime = 0; /* list entry execution time */
int32 TimeIndex; /* the current time buffer index */
int32 CmdIndex; /* ATS command index (cmd num - 1) */
bool ReturnCode;
SC_AbsTimeTag_t TimeToStartAts; /* the REAL time to start the ATS */
uint16 CmdsSkipped = 0;
Expand Down

0 comments on commit dd4feb8

Please sign in to comment.