Skip to contentSkip to conversation

master - remove unused variable in _pvremove_check_single

PATCH David Teigland 1 participant 1 message Apr 23, 2018

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=c29899b910811d0d1dc5607d200a1e59773eff0c
Commit:        c29899b910811d0d1dc5607d200a1e59773eff0c
Parent:        a1e3398ffcf5def36934eabbb9ea26db221bbe74
Author:        David Teigland <[email protected]>
AuthorDate:    Tue Feb 13 14:28:24 2018 -0600
Committer:     David Teigland <[email protected]>
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(-)
tools/toollib.c +0 -1
index 0cc2edd..807e34c 100644
@@ -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)