Skip to content

Commit

Permalink
Fix #2581, Adding bytes read check cont. (removing redundant status c…
Browse files Browse the repository at this point in the history
…hecks)
  • Loading branch information
tvisha.s.andharia committed Jul 29, 2024
1 parent 13c35a5 commit 704e7ef
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions modules/fs/fsw/src/cfe_fs_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,7 @@ CFE_Status_t CFE_FS_ReadHeader(CFE_FS_Header_t *Hdr, osal_id_t FileDes)
/* its standard big-endian format into a little endian format to ease user access */
CFE_FS_ByteSwapCFEHeader(Hdr);
}
}

if (OsStatus >= OS_SUCCESS)
{
/* The "OsStatus" reflects size actually read */
Result = (long)OsStatus;
}
else
Expand Down

0 comments on commit 704e7ef

Please sign in to comment.