Skip to content

Commit

Permalink
Fix nasa#365, Remove extraneous assignments to CFE_SUCCESS
Browse files Browse the repository at this point in the history
  • Loading branch information
thnkslprpt committed Feb 16, 2023
1 parent 19c18b9 commit 3444ff4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions fsw/src/cf_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion fsw/src/cf_cfdp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3444ff4

Please sign in to comment.