Skip to content

Commit

Permalink
Merge pull request #17 from skliper/fix16-static_analysis_warnings
Browse files Browse the repository at this point in the history
Fix #16 #10, Resolve reassignment before use style warnings
  • Loading branch information
astrogeco authored May 11, 2022
2 parents 502478e + 367719b commit c5ef5ac
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions fsw/src/hs_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ void HS_AppMain(void)
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
int32 HS_AppInit(void)
{
int32 Status = CFE_SUCCESS;
int32 Status;

/*
** Initialize operating data to default states...
Expand Down Expand Up @@ -350,7 +350,7 @@ int32 HS_AppInit(void)
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
int32 HS_SbInit(void)
{
int32 Status = CFE_SUCCESS;
int32 Status;

/* Initialize housekeeping packet */
CFE_MSG_Init(&HS_AppData.HkPacket.TlmHeader.Msg, CFE_SB_ValueToMsgId(HS_HK_TLM_MID), sizeof(HS_HkPacket_t));
Expand Down
2 changes: 1 addition & 1 deletion fsw/src/hs_cmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ void HS_SetMaxResetsCmd(const CFE_SB_Buffer_t *BufPtr)
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
void HS_AcquirePointers(void)
{
int32 Status = CFE_SUCCESS;
int32 Status;

/*
** Release the table (AppMon)
Expand Down
2 changes: 1 addition & 1 deletion fsw/src/hs_custom.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ void HS_IdleTask(void)
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
int32 HS_CustomInit(void)
{
int32 Status = CFE_SUCCESS;
int32 Status;

/*
** Spawn the Idle Task
Expand Down

0 comments on commit c5ef5ac

Please sign in to comment.