aboutsummaryrefslogtreecommitdiff
path: root/shell
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
parente640cb4ad162422f71d267615da9cfe7ddfe6a2e (diff)
downloadbusybox-w32-171932d7ca62dbb0e0b84a0919e1f3a8a68f03f2.tar.gz
busybox-w32-171932d7ca62dbb0e0b84a0919e1f3a8a68f03f2.tar.bz2
busybox-w32-171932d7ca62dbb0e0b84a0919e1f3a8a68f03f2.zip
hust: trivial simplification in builtin_type
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell')
-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)
6762 int ret = EXIT_SUCCESS; 6762 int ret = EXIT_SUCCESS;
6763 6763
6764 while (*++argv) { 6764 while (*++argv) {
6765 char *path;
6766 const char *type; 6765 const char *type;
6767 6766 char *path = NULL;
6768 type = path = NULL;
6769 6767
6770 if (0) {} /* make conditional compile easier below */ 6768 if (0) {} /* make conditional compile easier below */
6771 /*else if (find_alias(*argv)) 6769 /*else if (find_alias(*argv))