Skip to contentSkip to conversation

LVM2/lib/snapshot snapshot.c

PATCH [email protected] 1 participant 1 message Jan 11, 2008

lore
Share & tools
lore
#0 lore raw

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

lib/snapshot/snapshot.c +2 -0
@@ -300,7 +300,9 @@
 #endif
 {
 	struct segment_type *segtype = dm_malloc(sizeof(*segtype));
+#ifdef DMEVENTD
 	char *dso;
+#endif
 
 	if (!segtype) {
 		stack;