[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[lvm-devel] LVM2/tools lvmcmdline.c



CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	zkabelac 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

--- LVM2/tools/lvmcmdline.c	2010/11/24 09:53:31	1.132
+++ LVM2/tools/lvmcmdline.c	2010/11/29 11:14:33	1.133
@@ -1442,7 +1442,6 @@
 		if (!alias) {
 			argv++;
 			argc--;
-			alias = 0;
 		}
 		if (!argc) {
 			log_error("Falling back to LVM1 tools, but no "


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]