diff options
author | Alasdair Kergon <agk@redhat.com> | 2006-05-09 21:23:51 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2006-05-09 21:23:51 +0000 |
commit | 45dca55fc8def2804617d58f66e85a7ad60649eb (patch) | |
tree | ae0130e37b873591370abd65ff44cb2a554db049 /tools/vgremove.c | |
parent | 445d8ecd9f4afd4f055bc368c73d5ecd22944c4b (diff) | |
download | lvm2-45dca55fc8def2804617d58f66e85a7ad60649eb.tar.gz |
Make SIZE_SHORT the default for display_size().
Fix some memory leaks in error paths found by coverity.
Use C99 struct initialisers.
Move DEFS into configure.h.
Clean-ups to remove miscellaneous compiler warnings.
Diffstat (limited to 'tools/vgremove.c')
-rw-r--r-- | tools/vgremove.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/vgremove.c b/tools/vgremove.c index f68d892c8..f350f1c54 100644 --- a/tools/vgremove.c +++ b/tools/vgremove.c @@ -17,7 +17,7 @@ static int vgremove_single(struct cmd_context *cmd, const char *vg_name, struct volume_group *vg, int consistent, - void *handle) + void *handle __attribute((unused))) { struct physical_volume *pv; struct pv_list *pvl; |