[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	2011-08-04 14:11:29

Modified files:
	tools          : lvmcmdline.c 

Log message:
	Remove self assigment which has no effect
	
	Just a tiny code cleanup found by analyzer.

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

--- LVM2/tools/lvmcmdline.c	2011/06/27 23:43:04	1.144
+++ LVM2/tools/lvmcmdline.c	2011/08/04 14:11:28	1.145
@@ -274,8 +274,7 @@
 		if (i < 0) {
 			return 0;
 		} else if (i == 7) {
-			/* sectors */
-			v = v;
+			/* v is already in sectors */
 		} else if (i == 6) {
 			/* bytes */
 			v_tmp = (uint64_t) v;


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