summaryrefslogtreecommitdiff
path: root/arm9/lib/src/FS_command.c
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2020-05-26 09:42:03 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2020-05-26 09:42:03 -0400
commit8c8a5a07c5e6b1a2d0d0592a30be31ccd140fc1e (patch)
treec23120a706d012bd19c4c2584af5009fd2016ecf /arm9/lib/src/FS_command.c
parente643eddc0def8e4851a4195e8ed4de06c847f52d (diff)
parent227da51c377f621f542ffdb52ef56bfb807f29ab (diff)
Merge branch 'master' of github.com:martmists/pokediamond into pikalax_work
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))