17 Aug
2009
17 Aug
'09
6:32 p.m.
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.