Skip to contentSkip to conversation

LVM2/tools lvmcmdline.c

PATCH [email protected] 1 participant 1 message Nov 29, 2010

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac at sourceware.org 2010-11-29 11:14:33

Modified files:
tools : lvmcmdline.c

Log message:
Remove dead assignment in lvm2_main

'alias' is not read again in this code path. Also 'alias' is already equal to 0 in this place.

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

tools/lvmcmdline.c +0 -1
@@ -1442,7 +1442,6 @@
 		if (!alias) {
 			argv++;
 			argc--;
-			alias = 0;
 		}
 		if (!argc) {
 			log_error("Falling back to LVM1 tools, but no "