svn commit: trunk/busybox/util-linux

aldot at busybox.net aldot at busybox.net
Tue Jul 22 07:33:54 UTC 2008


Author: aldot
Date: 2008-07-22 00:33:53 -0700 (Tue, 22 Jul 2008)
New Revision: 22908

Log:
- unused variables if !ENABLE_FEATURE_MDEV_RENAME_REGEXP


Modified:
   trunk/busybox/util-linux/mdev.c


Changeset:
Modified: trunk/busybox/util-linux/mdev.c
===================================================================
--- trunk/busybox/util-linux/mdev.c	2008-07-21 23:05:26 UTC (rev 22907)
+++ trunk/busybox/util-linux/mdev.c	2008-07-22 07:33:53 UTC (rev 22908)
@@ -170,8 +170,11 @@
 				break;
 			aliaslink = *val;
 			if (aliaslink == '>' || aliaslink == '=') {
-				char *s, *p;
+				char *s;
+#if ENABLE_FEATURE_MDEV_RENAME_REGEXP
+				char *p;
 				unsigned i, n;
+#endif
 				char *a = val;
 				s = strchr(val, ' ');
 				val = (s && s[1]) ? s+1 : NULL;




More information about the busybox-cvs mailing list