summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2010-11-24 12:42:17 +0000
committerRichard W.M. Jones <rjones@redhat.com>2010-11-24 12:42:17 +0000
commit4e3837d0f31af26dd460f7196323af10aac24be1 (patch)
treee4a704baa3fb01e3f1519a5c6cb778debed09688
parentd20b9cd6b82e26dd2f8cf43d9cc8f1e518f2e077 (diff)
downloadlibguestfs-4e3837d0f31af26dd460f7196323af10aac24be1.tar.gz
libguestfs-4e3837d0f31af26dd460f7196323af10aac24be1.tar.xz
libguestfs-4e3837d0f31af26dd460f7196323af10aac24be1.zip
generator: Remove unused variable.
-rw-r--r--generator/generator_c.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/generator/generator_c.ml b/generator/generator_c.ml
index 9d3efe9a..d0a47024 100644
--- 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;