Skip to content

Commit

Permalink
Fix nasa#16 nasa#10, Resolve reassignment before use style warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
skliper committed May 9, 2022
1 parent 502478e commit 367719b
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 367719b

Please sign in to comment.