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

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



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


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