summaryrefslogtreecommitdiffhomepage
path: root/shell/hush.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-05-28 17:07:22 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-05-28 17:07:22 +0200
commit171932d7ca62dbb0e0b84a0919e1f3a8a68f03f2 (patch)
tree52c24c5235afcd6973268f73b65957d360078eba /shell/hush.c
parente640cb4ad162422f71d267615da9cfe7ddfe6a2e (diff)
hust: trivial simplification in builtin_type
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush.c')
-rw-r--r--shell/hush.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/shell/hush.c b/shell/hush.c
index 1d4470efa..add40eb5f 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))