- unused variables if !ENABLE_FEATURE_MDEV_RENAME_REGEXP
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Tue, 22 Jul 2008 07:33:53 +0000 (07:33 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Tue, 22 Jul 2008 07:33:53 +0000 (07:33 -0000)
util-linux/mdev.c

index 7ad55c8af0a03f590accf6f391586a2b12388460..461d3c8c148e5c4d56e5135fe19fd15ff6975c61 100644 (file)
@@ -170,8 +170,11 @@ static void make_device(char *path, int delete)
                                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;