projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5415c85
)
- unused variables if !ENABLE_FEATURE_MDEV_RENAME_REGEXP
author
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Tue, 22 Jul 2008 07:33:53 +0000
(07:33 -0000)
committer
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Tue, 22 Jul 2008 07:33:53 +0000
(07:33 -0000)
util-linux/mdev.c
patch
|
blob
|
history
diff --git
a/util-linux/mdev.c
b/util-linux/mdev.c
index 7ad55c8af0a03f590accf6f391586a2b12388460..461d3c8c148e5c4d56e5135fe19fd15ff6975c61 100644
(file)
--- a/
util-linux/mdev.c
+++ b/
util-linux/mdev.c
@@
-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;