diff options
author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-11-27 16:49:31 +0000 |
---|---|---|
committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-11-27 16:49:31 +0000 |
commit | bb89b301143fe9deb962bb2d48264b27a945fcf4 (patch) | |
tree | 0d8cba8e45b1a8b975e0b8c7a8377703ab5547a6 /shell/hush.c | |
parent | 09d6cecd11b71856abab9bb68e74f0dd87a425fa (diff) | |
download | busybox-w32-bb89b301143fe9deb962bb2d48264b27a945fcf4.tar.gz busybox-w32-bb89b301143fe9deb962bb2d48264b27a945fcf4.tar.bz2 busybox-w32-bb89b301143fe9deb962bb2d48264b27a945fcf4.zip |
style cleanup: return(a) -> return a, part 1
git-svn-id: svn://busybox.net/trunk/busybox@16690 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'shell/hush.c')
-rw-r--r-- | shell/hush.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/hush.c b/shell/hush.c index 2013a9d2b..57b4a7ac3 100644 --- a/shell/hush.c +++ b/shell/hush.c | |||
@@ -1225,7 +1225,7 @@ static int checkjobs(struct pipe* fg_pipe) | |||
1225 | if (i==fg_pipe->num_progs-1) | 1225 | if (i==fg_pipe->num_progs-1) |
1226 | rcode=WEXITSTATUS(status); | 1226 | rcode=WEXITSTATUS(status); |
1227 | (fg_pipe->num_progs)--; | 1227 | (fg_pipe->num_progs)--; |
1228 | return(rcode); | 1228 | return rcode; |
1229 | } | 1229 | } |
1230 | } | 1230 | } |
1231 | } | 1231 | } |
@@ -2768,7 +2768,7 @@ int hush_main(int argc, char **argv) | |||
2768 | #endif | 2768 | #endif |
2769 | 2769 | ||
2770 | final_return: | 2770 | final_return: |
2771 | return(opt?opt:last_return_code); | 2771 | return opt ? opt : last_return_code; |
2772 | } | 2772 | } |
2773 | 2773 | ||
2774 | static char *insert_var_value(char *inp) | 2774 | static char *insert_var_value(char *inp) |