From 31a3f7619dbe54a8199d4e018145979e582bca71 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Sun, 22 Jan 2012 20:50:04 +0100 Subject: [PATCH] Attempt to fix remaining warnings. Change-Id: I6c5b5b24db9f52272fc8765942ddcfff0eb3a8ab --- uisimulator/common/stubs.c | 4 ++-- 1 file 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); } }