git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d8efdd
)
java: Small fix to Java bindings.
author
Richard W.M. Jones
<rjones@redhat.com>
Mon, 17 Aug 2009 11:26:58 +0000
(12:26 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Mon, 17 Aug 2009 11:26:58 +0000
(12:26 +0100)
Missing declaration of local variable 'i'.
src/generator.ml
patch
|
blob
|
history
diff --git
a/src/generator.ml
b/src/generator.ml
index
691cf60
..
ad4c0cb
100755
(executable)
--- a/
src/generator.ml
+++ b/
src/generator.ml
@@
-8588,7
+8588,10
@@
Java_com_redhat_et_libguestfs_GuestFS__1close
| RErr | RBool _ | RInt _ | RInt64 _ | RConstString _
| RConstOptString _
| RString _ | RBufferOut _ | RStruct _ | RHashtable _ -> false) ||
- List.exists (function StringList _ -> true | _ -> false) (snd style) in
+ List.exists (function
+ | StringList _ -> true
+ | DeviceList _ -> true
+ | _ -> false) (snd style) in
if needs_i then
pr " int i;\n";