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:
d20b9cd
)
generator: Remove unused variable.
author
Richard W.M. Jones
<rjones@redhat.com>
Wed, 24 Nov 2010 12:42:17 +0000
(12:42 +0000)
committer
Richard W.M. Jones
<rjones@redhat.com>
Wed, 24 Nov 2010 12:42:17 +0000
(12:42 +0000)
generator/generator_c.ml
patch
|
blob
|
history
diff --git
a/generator/generator_c.ml
b/generator/generator_c.ml
index
9d3efe9
..
d0a4702
100644
(file)
--- a/
generator/generator_c.ml
+++ b/
generator/generator_c.ml
@@
-796,7
+796,7
@@
check_state (guestfs_h *g, const char *caller)
let needs_i =
match ret with
- | RStringList _ | RHashtable _
| RStructList _
-> true
+ | RStringList _ | RHashtable _ -> true
| _ -> false in
if needs_i then (
pr "%s size_t i;\n" indent;