- unused variables if !ENABLE_FEATURE_MDEV_RENAME_REGEXP

This commit is contained in:
Bernhard Reutner-Fischer 2008-07-22 07:33:53 +00:00
parent 5415c856ea
commit b62bd7b261

View File

@ -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;