Skip to contentSkip to conversation

LVM2/tools lvmcmdline.c

PATCH [email protected] 1 participant 1 message Dec 11, 2008

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: wysochanski at sourceware.org 2008-12-11 03:31:10

Modified files:
tools : lvmcmdline.c

Log message:
Remove handles_missing_pvs assignment after call to create_toolcontext().

This variable is set at the top of create_toolcontext() to 0. Nothing later in create_toolcontext() changes the value.
In init_lvm(), nothing between create_toolcontext() call and this assignment changes the value. Thus, the assignment is redundant.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/lvmcmdline.c.diff?cvsroot=lvm2&r1=1.79&r2=1.80

tools/lvmcmdline.c +0 -1
@@ -1105,7 +1105,6 @@
 
 	cmd->fmt = arg_ptr_value(cmd, metadatatype_ARG,
 				 cmd->current_settings.fmt);
-	cmd->handles_missing_pvs = 0;
 
 	return cmd;
 }