summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2006-12-03 18:57:28 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2006-12-03 18:57:28 +0000
commitec14b0f989fce4f295df8882ce0509b5599dfca4 (patch)
tree72553b48cfffa4033aa2b86dca8cb69bff3c67ae
parent61e3759da0eece868cff672e1692d04517793666 (diff)
Fixed the warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11653 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/drivers/fat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/fat.c b/firmware/drivers/fat.c
index 7d5a879249..3924a5cb89 100644
--- a/firmware/drivers/fat.c
+++ b/firmware/drivers/fat.c
@@ -2115,7 +2115,7 @@ long fat_readwrite( struct fat_file *file, long sectorcount,
int fat_get_secsize(const struct fat_file *file)
{
#ifdef HAVE_MULTIVOLUME
- fat_bpbs[file->volume].bpb_bytspersec;
+ return fat_bpbs[file->volume].bpb_bytspersec;
#else
(void)file;
return fat_bpbs[0].bpb_bytspersec;