diff --git a/fsw/src/cf_app.c b/fsw/src/cf_app.c index 835032ef..631df388 100644 --- a/fsw/src/cf_app.c +++ b/fsw/src/cf_app.c @@ -150,7 +150,7 @@ int32 CF_ValidateConfigTable(void *tbl_ptr) *-----------------------------------------------------------------*/ int32 CF_TableInit(void) { - int32 status = CFE_SUCCESS; + int32 status; status = CFE_TBL_Register(&CF_AppData.config_handle, CF_CONFIG_TABLE_NAME, sizeof(CF_ConfigTable_t), CFE_TBL_OPT_SNGL_BUFFER | CFE_TBL_OPT_LOAD_DUMP, CF_ValidateConfigTable); @@ -205,7 +205,7 @@ int32 CF_TableInit(void) *-----------------------------------------------------------------*/ int32 CF_Init(void) { - int32 status = CFE_SUCCESS; + int32 status; static const CFE_SB_MsgId_Atom_t MID_VALUES[] = {CF_CMD_MID, CF_SEND_HK_MID, CF_WAKE_UP_MID}; uint32 i; diff --git a/fsw/src/cf_cfdp.c b/fsw/src/cf_cfdp.c index cc7880f6..7d6ba18e 100644 --- a/fsw/src/cf_cfdp.c +++ b/fsw/src/cf_cfdp.c @@ -1325,7 +1325,7 @@ static int32 CF_CFDP_PlaybackDir_Initiate(CF_Playback_t *p, const char *src_file CF_CFDP_Class_t cfdp_class, uint8 keep, uint8 chan, uint8 priority, CF_EntityId_t dest_id) { - int32 ret = CFE_SUCCESS; + int32 ret; /* make sure the directory can be open */ ret = OS_DirectoryOpen(&p->dir_id, src_filename);