Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-11-27 19:59:15 +0300
committerDenis Vlasenko <vda.linux@googlemail.com>2006-11-27 19:59:15 +0300
commit097c324f59e00182c9a2ca9e7a8b2fe06a078c6c (patch)
tree4817bcd854907cb2cd905780e54ea24faf1c80c5 /shell
parentd9e15f206840219bb0f39c912a42fdcf8cbcaed6 (diff)
fix remaining survivors of the return(a) cleanup
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c4
-rw-r--r--shell/lash.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 0704353f5..3a9998fc0 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -4804,9 +4804,9 @@ exptilde(char *startp, char *p, int flag)
while ((c = *++p) != '\0') {
switch(c) {
case CTLESC:
- return (startp);
+ return startp;
case CTLQUOTEMARK:
- return (startp);
+ return startp;
case ':':
if (flag & EXP_VARTILDE)
goto done;
diff --git a/shell/lash.c b/shell/lash.c
index 472cbddb9..3b51e98a9 100644
--- a/shell/lash.c
+++ b/shell/lash.c
@@ -380,7 +380,7 @@ static int builtin_export(struct child_prog *child)
setlocale(LC_CTYPE, getenv("LC_CTYPE"));
#endif
- return (res);
+ return res;
}
/* built-in 'read VAR' handler */
@@ -414,7 +414,7 @@ static int builtin_read(struct child_prog *child)
else
fgets(string, sizeof(string), stdin);
- return (res);
+ return res;
}
/* Built-in '.' handler (read-in and execute commands from file) */
@@ -433,7 +433,7 @@ static int builtin_source(struct child_prog *child)
status = busy_loop(input);
fclose(input);
llist_pop(&close_me_list);
- return (status);
+ return status;
}
/* built-in 'unset VAR' handler */