summaryrefslogtreecommitdiffstats
path: root/uisimulator
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2012-01-22 20:50:04 +0100
committerThomas Martitz <kugel@rockbox.org>2012-01-22 20:50:04 +0100
commit31a3f7619dbe54a8199d4e018145979e582bca71 (patch)
tree48d453c9c3098449b4c29a11a1314fa4ed4d97ac /uisimulator
parente720ad0fad7c0f5fc96aff90919c8a65aeb1c8aa (diff)
downloadrockbox-31a3f7619dbe54a8199d4e018145979e582bca71.tar.gz
rockbox-31a3f7619dbe54a8199d4e018145979e582bca71.tar.bz2
rockbox-31a3f7619dbe54a8199d4e018145979e582bca71.zip
Attempt to fix remaining warnings.
Change-Id: I6c5b5b24db9f52272fc8765942ddcfff0eb3a8ab
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/common/stubs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/uisimulator/common/stubs.c b/uisimulator/common/stubs.c
index de53b6bb64..6237caf949 100644
--- a/uisimulator/common/stubs.c
+++ b/uisimulator/common/stubs.c
@@ -188,7 +188,7 @@ int storage_write_sectors(IF_MV2(int drive,)
sprintf(name,"sector%lX.bin",start+i);
f=fopen(name,"wb");
if (f) {
- fwrite(buf,512,1,f);
+ (void)fwrite(buf,512,1,f);
fclose(f);
}
}
@@ -211,7 +211,7 @@ int storage_read_sectors(IF_MV2(int drive,)
sprintf(name,"sector%lX.bin",start+i);
f=fopen(name,"rb");
if (f) {
- fread(buf,512,1,f);
+ (void)fread(buf,512,1,f);
fclose(f);
}
}