Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions fsw/src/hs_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,6 @@ CFE_Status_t HS_AppInit(void)
*/
HS_SetCDSData(0, HS_MAX_RESTART_ACTIONS);
}

Status = CFE_SUCCESS;
}
else if (Status == CFE_SUCCESS)
{
Expand Down Expand Up @@ -451,7 +449,7 @@ CFE_Status_t HS_SbInit(void)
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
CFE_Status_t HS_TblInit(void)
{
size_t TableSize = 0;
size_t TableSize;
CFE_Status_t Status;

/* Register The HS Applications Monitor Table */
Expand Down Expand Up @@ -592,7 +590,7 @@ CFE_Status_t HS_TblInit(void)
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
CFE_Status_t HS_ProcessMain(void)
{
CFE_Status_t Status = CFE_SUCCESS;
CFE_Status_t Status;
const char *AliveString = HS_CPU_ALIVE_STRING;

/*
Expand Down
2 changes: 1 addition & 1 deletion fsw/src/hs_app_monitor.c
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ int32 HS_AppMon_ValidateTable(void *TableData)
HS_AMTEntry_t *TableArray = (HS_AMTEntry_t *)TableData;

int32 TableResult = CFE_SUCCESS;
uint32 TableIndex = 0;
uint32 TableIndex;
int32 EntryResult;

uint16 ActionType;
Expand Down
8 changes: 4 additions & 4 deletions fsw/src/hs_event_monitor.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ static void HS_EventMon_FailCallback(uint32 MsgActsIndex, const void *Arg)
*-----------------------------------------------------------------*/
void HS_EventMon_TriggerAction(const HS_EMTEntry_t *EMEntryPtr)
{
CFE_Status_t Status = CFE_SUCCESS;
CFE_ES_AppId_t AppId = CFE_ES_APPID_UNDEFINED;
CFE_Status_t Status;
CFE_ES_AppId_t AppId = CFE_ES_APPID_UNDEFINED;

/*
** Perform the action if the strings also match
Expand Down Expand Up @@ -191,7 +191,7 @@ void HS_EventMon_TriggerAction(const HS_EMTEntry_t *EMEntryPtr)
*-----------------------------------------------------------------*/
void HS_EventMon_Check(const CFE_EVS_LongEventTlm_t *EventPtr)
{
uint32 TableIndex = 0;
uint32 TableIndex;
HS_EMTEntry_t *EMEntryPtr;

for (TableIndex = 0;; ++TableIndex)
Expand Down Expand Up @@ -225,7 +225,7 @@ int32 HS_EventMon_ValidateTable(void *TableData)
HS_EMTEntry_t *TableArray = (HS_EMTEntry_t *)TableData;

int32 TableResult = CFE_SUCCESS;
uint32 TableIndex = 0;
uint32 TableIndex;
int32 EntryResult;

uint16 ActionType;
Expand Down
1 change: 0 additions & 1 deletion fsw/src/hs_exec_monitor.c
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,6 @@ void HS_ExecMon_CheckEntries(void)
break;
}

Status = CFE_STATUS_NOT_IMPLEMENTED; /* placeholder*/
XCStatePtr = HS_GetXCStateByIndex(TableIndex);
if (XCStatePtr->Enable)
{
Expand Down
8 changes: 4 additions & 4 deletions fsw/src/hs_msg_action.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,13 @@ int32 HS_MsgAct_ValidateTable(void *TableData)
HS_MATEntry_t *TableArray = (HS_MATEntry_t *)TableData;

int32 TableResult = CFE_SUCCESS;
uint32 TableIndex = 0;
size_t Length = 0;
uint32 TableIndex;
size_t Length = 0;
uint16 EnableState;
int32 EntryResult;

CFE_SB_MsgId_t MessageID = CFE_SB_INVALID_MSG_ID;
const CFE_MSG_Message_t *MsgPtr = NULL;
const CFE_MSG_Message_t *MsgPtr;

uint32 GoodCount = 0;
uint32 BadCount = 0;
Expand Down Expand Up @@ -281,7 +281,7 @@ void HS_MsgAct_AcquirePointers(void)
*-----------------------------------------------------------------*/
void HS_MsgAct_Cooldown(void)
{
uint32 i = 0;
uint32 i;
HS_MsgActState_t *MAStatePtr;

/*
Expand Down
Loading