projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e640cb4
)
hust: trivial simplification in builtin_type
author
Denys Vlasenko
<vda.linux@googlemail.com>
Thu, 28 May 2009 15:07:22 +0000
(17:07 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Thu, 28 May 2009 15:07:22 +0000
(17:07 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/hush.c
patch
|
blob
|
history
diff --git
a/shell/hush.c
b/shell/hush.c
index 1d4470efa79e77ebb19161c53c06f0f53249d0ea..add40eb5f0d6742c593836f445e4736575a9e08f 100644
(file)
--- 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))