- unused variables if !ENABLE_FEATURE_MDEV_RENAME_REGEXP
This commit is contained in:
parent
5415c856ea
commit
b62bd7b261
@ -170,8 +170,11 @@ static void make_device(char *path, int delete)
|
|||||||
break;
|
break;
|
||||||
aliaslink = *val;
|
aliaslink = *val;
|
||||||
if (aliaslink == '>' || aliaslink == '=') {
|
if (aliaslink == '>' || aliaslink == '=') {
|
||||||
char *s, *p;
|
char *s;
|
||||||
|
#if ENABLE_FEATURE_MDEV_RENAME_REGEXP
|
||||||
|
char *p;
|
||||||
unsigned i, n;
|
unsigned i, n;
|
||||||
|
#endif
|
||||||
char *a = val;
|
char *a = val;
|
||||||
s = strchr(val, ' ');
|
s = strchr(val, ' ');
|
||||||
val = (s && s[1]) ? s+1 : NULL;
|
val = (s && s[1]) ? s+1 : NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user