Fix compile warnings on Windows
[fio.git] / os / os.h
diff --git a/os/os.h b/os/os.h
index fb544a173e4a2c03e56bc893b18f37d38205715b..f33a7cdf5d631c5e0fd4f0be548dafa9a08477ce 100644 (file)
--- a/os/os.h
+++ b/os/os.h
@@ -137,7 +137,7 @@ typedef unsigned int socklen_t;
 #endif
 
 #ifndef FIO_OS_HAS_CTIME_R
 #endif
 
 #ifndef FIO_OS_HAS_CTIME_R
-#define os_ctime_r(x, y, z)     ctime_r((x), (y))
+#define os_ctime_r(x, y, z)     (void) ctime_r((x), (y))
 #endif
 
 #ifdef FIO_USE_GENERIC_SWAP
 #endif
 
 #ifdef FIO_USE_GENERIC_SWAP