mtd/drivers/mtd/maps pcmciamtd.c,1.33,1.34

David Woodhouse dwmw2 at infradead.org
Fri Sep 13 10:47:53 EDT 2002


Update of /home/cvs/mtd/drivers/mtd/maps
In directory phoenix.infradead.org:/tmp/cvs-serv5015

Modified Files:
	pcmciamtd.c 
Log Message:
warning cleanup

Index: pcmciamtd.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/pcmciamtd.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- pcmciamtd.c	13 Sep 2002 13:42:07 -0000	1.33
+++ pcmciamtd.c	13 Sep 2002 14:47:50 -0000	1.34
@@ -35,6 +35,7 @@
 	}
 
 #else
+#undef DEBUG
 #define DEBUG(n, arg...)
 static const int debug = 0;
 #endif
@@ -395,6 +396,7 @@
 		switch(tuple.TupleCode) {
 		case  CISTPL_FORMAT: {
 			cistpl_format_t *t = &parse.format;
+			(void)t; /* Shut up, gcc */
 			DEBUG(2, "Format type: %u, Error Detection: %u, offset = %u, length =%u",
 			      t->type, t->edc, t->offset, t->length);
 			break;





More information about the linux-mtd-cvs mailing list