generator: Remove unused variable.
authorRichard W.M. Jones <rjones@redhat.com>
Wed, 24 Nov 2010 12:42:17 +0000 (12:42 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 24 Nov 2010 12:42:17 +0000 (12:42 +0000)
generator/generator_c.ml

index 9d3efe9..d0a4702 100644 (file)
@@ -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;