[lvm-devel] LVM2/lib/snapshot snapshot.c

wysochanski at sourceware.org wysochanski at sourceware.org
Fri Jan 11 17:44:26 UTC 2008


CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	wysochanski at sourceware.org	2008-01-11 17:44:26

Modified files:
	lib/snapshot   : snapshot.c 

Log message:
	Fix warning on conditional compile, unused variable

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/snapshot/snapshot.c.diff?cvsroot=lvm2&r1=1.25&r2=1.26

--- LVM2/lib/snapshot/snapshot.c	2008/01/09 15:32:19	1.25
+++ LVM2/lib/snapshot/snapshot.c	2008/01/11 17:44:26	1.26
@@ -300,7 +300,9 @@
 #endif
 {
 	struct segment_type *segtype = dm_malloc(sizeof(*segtype));
+#ifdef DMEVENTD
 	char *dso;
+#endif
 
 	if (!segtype) {
 		stack;




More information about the lvm-devel mailing list