git.annexia.org
/
virt-df.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee05cb5
)
Removed warning about unused return value.
author
Richard W.M. Jones
<rjones@redhat.com>
Thu, 1 May 2008 17:50:31 +0000
(18:50 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Thu, 1 May 2008 17:50:31 +0000
(18:50 +0100)
lib/diskimage_utils.ml
patch
|
blob
|
history
diff --git
a/lib/diskimage_utils.ml
b/lib/diskimage_utils.ml
index
3ea53b7
..
1a85f52
100644
(file)
--- 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