[Libguestfs] [PATCH libguestfs] generator.ml: do not emit unused print_*_list functions
Jim Meyering
jim at meyering.net
Mon Aug 17 18:32:23 UTC 2009
Jim Meyering wrote:
> I see the following warnings:
>
> cmds.c:934:13: warning: 'print_int_bool_list' defined but not used
> cmds.c:1093:13: warning: 'print_stat_list' defined but not used
> cmds.c:1124:13: warning: 'print_statvfs_list' defined but not used
> cmds.c:1171:13: warning: 'print_version_list' defined but not used
>
> This patch makes it so we don't emit the unused definitions:
...
> Subject: [PATCH libguestfs] generator.ml: do not emit unused print_*_list functions
...
> + (* Emit a put_TYPE_list function definition only if that function is used. *)
Oops. that should be print_TYPE_list.
I've just amended my local copy of that change.
More information about the Libguestfs
mailing list