summaryrefslogtreecommitdiffhomepage
path: root/shell
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-12-22 18:37:07 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-12-22 18:37:07 +0000
commit4cccc03768ecde58e8acd5e4f40e51227e3c14cc (patch)
tree1d9ac9a483f4ca245fff9925c30a7f842d9b51ca /shell
parenta6df5907d273f0fe067e82c60391d6bf9a02dd4b (diff)
remove useless casts (type*) xzalloc(...)
Diffstat (limited to 'shell')
-rw-r--r--shell/lash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/lash.c b/shell/lash.c
index 3b51e98a9..525767190 100644
--- a/shell/lash.c
+++ b/shell/lash.c
@@ -1377,7 +1377,7 @@ static int busy_loop(FILE * input)
}
else {
free(command);
- command = (char *) xzalloc(BUFSIZ);
+ command = xzalloc(BUFSIZ);
next_command = NULL;
}
} else {