From: Denys Vlasenko Date: Thu, 28 May 2009 15:07:22 +0000 (+0200) Subject: hust: trivial simplification in builtin_type X-Git-Tag: 1_15_0~206 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=171932d7ca62dbb0e0b84a0919e1f3a8a68f03f2;p=platform%2Fupstream%2Fbusybox.git hust: trivial simplification in builtin_type Signed-off-by: Denys Vlasenko --- diff --git a/shell/hush.c b/shell/hush.c index 1d4470e..add40eb 100644 --- a/shell/hush.c +++ b/shell/hush.c @@ -6762,10 +6762,8 @@ static int builtin_type(char **argv) int ret = EXIT_SUCCESS; while (*++argv) { - char *path; const char *type; - - type = path = NULL; + char *path = NULL; if (0) {} /* make conditional compile easier below */ /*else if (find_alias(*argv))