From 21643d806233bbc2462795bb5901d44f3cdf4ecf Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 1 Jan 1970 00:00:00 +0000 Subject: [PATCH] Removed warning about unused return value. --- lib/diskimage_utils.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/diskimage_utils.ml b/lib/diskimage_utils.ml index 3ea53b7..1a85f52 100644 --- a/lib/diskimage_utils.ml +++ b/lib/diskimage_utils.ml @@ -105,7 +105,7 @@ object (self) let len = Int63.to_int len in ignore (LargeFile.lseek fd offset SEEK_SET); let str = String.make len '\000' in - read fd str 0 len; + ignore (read fd str 0 len); str method size = size method name = filename -- 1.8.3.1