Removed warning about unused return value.
authorRichard W.M. Jones <rjones@redhat.com>
Thu, 1 May 2008 17:50:31 +0000 (18:50 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Thu, 1 May 2008 17:50:31 +0000 (18:50 +0100)
lib/diskimage_utils.ml

index 3ea53b7..1a85f52 100644 (file)
@@ -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