summaryrefslogtreecommitdiffstats
path: root/uisimulator/common/stubs.c
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/common/stubs.c')
-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);
}
}