From 8aeacdeb7985d23b2d692fca7f2b77c16fa0a6ec Mon Sep 17 00:00:00 2001 From: vda Date: Mon, 27 Nov 2006 16:59:15 +0000 Subject: fix remaining survivors of the return(a) cleanup git-svn-id: svn://busybox.net/trunk/busybox@16692 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- shell/ash.c | 4 ++-- shell/lash.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'shell') 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 */ -- cgit v1.2.3-55-g6feb