diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2009-08-17 12:26:58 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2009-08-17 12:26:58 +0100 |
commit | 722ff7a4bc034a8fe078d766a30589c07b8bd870 (patch) | |
tree | b3b3216cca652d15eb2ea7d31aba60b1b144aa2c /src | |
parent | 4d8efdd4552874092263bf567701c3459b05a780 (diff) | |
download | libguestfs-722ff7a4bc034a8fe078d766a30589c07b8bd870.tar.gz libguestfs-722ff7a4bc034a8fe078d766a30589c07b8bd870.tar.xz libguestfs-722ff7a4bc034a8fe078d766a30589c07b8bd870.zip |
java: Small fix to Java bindings.
Missing declaration of local variable 'i'.
Diffstat (limited to 'src')
-rwxr-xr-x | src/generator.ml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/generator.ml b/src/generator.ml index 691cf606..ad4c0cbf 100755 --- 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"; |