summaryrefslogtreecommitdiff
path: root/arm9/lib/src/FS_command.c
diff options
context:
space:
mode:
authorred031000 <rubenru09@aol.com>2020-05-25 14:51:35 +0100
committerred031000 <rubenru09@aol.com>2020-05-25 14:51:35 +0100
commit933dc9d738e830e797e16f056b49a3c79bcd8352 (patch)
tree362f6e56c80e99c51c1a2b5b5571f0eb5c4042aa /arm9/lib/src/FS_command.c
parente69b83243cb195429be9c40ec1ced2ed860458a2 (diff)
the warnings never end
Diffstat (limited to 'arm9/lib/src/FS_command.c')
-rw-r--r--arm9/lib/src/FS_command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arm9/lib/src/FS_command.c b/arm9/lib/src/FS_command.c
index 818a65ea..7e0d41c9 100644
--- a/arm9/lib/src/FS_command.c
+++ b/arm9/lib/src/FS_command.c
@@ -10,7 +10,7 @@ ARM_FUNC void FSi_ReleaseCommand(FSFile * p_file, FSResult ret)
p_file->stat &= ~(FS_FILE_STATUS_CANCEL | FS_FILE_STATUS_BUSY | FS_FILE_STATUS_SYNC | FS_FILE_STATUS_ASYNC | FS_FILE_STATUS_OPERATING);
p_file->error = ret;
OS_WakeupThread(p_file->queue);
- OS_RestoreInterrupts(bak_psr);
+ (void)OS_RestoreInterrupts(bak_psr);
}
ARM_FUNC FSResult FSi_TranslateCommand(FSFile *p_file, FSCommandType command)
@@ -58,7 +58,7 @@ ARM_FUNC FSResult FSi_TranslateCommand(FSFile *p_file, FSCommandType command)
while (FSi_IsArchiveSync(p_arc))
OS_SleepThread(&p_arc->sync_q);
ret = p_file->error;
- OS_RestoreInterrupts(bak_psr);
+ (void)OS_RestoreInterrupts(bak_psr);
}
}
else if (!FS_IsFileSyncMode(p_file))