From: Bernhard Reutner-Fischer Date: Tue, 22 Jul 2008 07:33:53 +0000 (-0000) Subject: - unused variables if !ENABLE_FEATURE_MDEV_RENAME_REGEXP X-Git-Tag: 1_12_0~122 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b62bd7b261bbfadcaeb7c5fcec8b4921bf5379a6;p=platform%2Fupstream%2Fbusybox.git - unused variables if !ENABLE_FEATURE_MDEV_RENAME_REGEXP --- diff --git a/util-linux/mdev.c b/util-linux/mdev.c index 7ad55c8..461d3c8 100644 --- 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;