[Libguestfs] [PATCH libguestfs] generator.ml: do not emit unused print_*_list functions

Richard W.M. Jones rjones at redhat.com
Tue Aug 18 08:00:52 UTC 2009


On Mon, Aug 17, 2009 at 08:29:13PM +0200, 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:

Looks good, ACK.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://et.redhat.com/~rjones/libguestfs/
See what it can do: http://et.redhat.com/~rjones/libguestfs/recipes.html




More information about the Libguestfs mailing list