[lvm-devel] [PATCH 12/19] lib2app: Fix warnings in lvm_list_pvs_free

Tony Asleson tasleson at redhat.com
Wed May 8 22:45:34 UTC 2013


Signed-off-by: Tony Asleson <tasleson at redhat.com>
---
 liblvm/lvm_pv.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/liblvm/lvm_pv.c b/liblvm/lvm_pv.c
index 38b0126..568ab5b 100644
--- a/liblvm/lvm_pv.c
+++ b/liblvm/lvm_pv.c
@@ -116,9 +116,7 @@ int lvm_list_pvs_free(struct dm_list *pvlist)
 	int rc = 0;
 	struct lvm_list_wrapper *to_delete = NULL;
 	struct vg_list *vgl = NULL;
-	struct vg_list *tmp_vgl = NULL;
 	struct pv_list *pvl = NULL;
-	struct pv_list *tmp_pvl = NULL;
 	struct cmd_context *cmd = NULL;
 
 	if (pvlist ) {
-- 
1.8.1.4




More information about the lvm-devel mailing list