summaryrefslogtreecommitdiff
path: root/firmware/common
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2003-03-10 20:49:18 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2003-03-10 20:49:18 +0000
commit9cb9c821a026fcc9dd15e09415fec298ca39c28b (patch)
tree9200be9bc2758c5d980008f0b3b5ba89b10f88b2 /firmware/common
parentd5de31939932aa9bddfafac926d16434117374c0 (diff)
Killed a warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3423 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/common')
-rw-r--r--firmware/common/file.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/common/file.c b/firmware/common/file.c
index 17660d3dc7..9b88461c63 100644
--- a/firmware/common/file.c
+++ b/firmware/common/file.c
@@ -337,7 +337,9 @@ static int flush_cache(int fd)
{
int rc;
struct filedesc* file = &openfiles[fd];
+#if 0
int sector = file->fileoffset / SECTOR_SIZE;
+#endif
DEBUGF("Flushing dirty sector cache %x\n", sector);