[git commit] hust: trivial simplification in builtin_type

Denys Vlasenko vda.linux at googlemail.com
Thu May 28 15:07:22 UTC 2009


commit: http://git.busybox.net/busybox/commit/?id=171932d7ca62dbb0e0b84a0919e1f3a8a68f03f2
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master


Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 shell/hush.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

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))
-- 
1.6.0.6


More information about the busybox-cvs mailing list