refactor: Delete useless variables
issue
@@ -176,10 +176,8 @@ BOAT_RESULT BoatWriteFile(const BCHAR *fileName,
BSINT32 file_fd = -1;
BSINT32 count = 0;
- BOAT_RESULT result = BOAT_SUCCESS;
(void)rsvd;
- result = result;
if ((fileName == NULL) || (writeBuf == NULL))
{
@@ -218,10 +216,8 @@ BOAT_RESULT BoatReadFile(const BCHAR *fileName,
BSINT32 file_fd = -1;
BSINT32 count = 0;
- BOAT_RESULT result = BOAT_SUCCESS;
(void)rsvd;
- result = result;
if ((fileName == NULL) || (readBuf == NULL))
{
