[lvm-devel] master - remove unused variable in _pvremove_check_single

David Teigland teigland at sourceware.org
Mon Apr 23 13:53:52 UTC 2018


Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=c29899b910811d0d1dc5607d200a1e59773eff0c
Commit:        c29899b910811d0d1dc5607d200a1e59773eff0c
Parent:        a1e3398ffcf5def36934eabbb9ea26db221bbe74
Author:        David Teigland <teigland at redhat.com>
AuthorDate:    Tue Feb 13 14:28:24 2018 -0600
Committer:     David Teigland <teigland at redhat.com>
CommitterDate: Fri Apr 20 11:22:46 2018 -0500

remove unused variable in _pvremove_check_single

---
 tools/toollib.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/tools/toollib.c b/tools/toollib.c
index 0cc2edd..807e34c 100644
--- a/tools/toollib.c
+++ b/tools/toollib.c
@@ -5279,7 +5279,6 @@ static int _pvremove_check_single(struct cmd_context *cmd,
 	struct pvcreate_params *pp = (struct pvcreate_params *) handle->custom_handle;
 	struct pvcreate_device *pd;
 	struct pvcreate_prompt *prompt;
-	struct label *label;
 	int found = 0;
 
 	if (!pv->dev)




More information about the lvm-devel mailing list