aboutsummaryrefslogtreecommitdiff
path: root/shell/hush.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-11-27 16:49:31 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-11-27 16:49:31 +0000
commit079f8afa0a16112cbaf7012c82b38b7358b82141 (patch)
tree0d8cba8e45b1a8b975e0b8c7a8377703ab5547a6 /shell/hush.c
parent10d0d4eec7e3a292917f43f72afae20341d9ba11 (diff)
downloadbusybox-w32-079f8afa0a16112cbaf7012c82b38b7358b82141.tar.gz
busybox-w32-079f8afa0a16112cbaf7012c82b38b7358b82141.tar.bz2
busybox-w32-079f8afa0a16112cbaf7012c82b38b7358b82141.zip
style cleanup: return(a) -> return a, part 1
Diffstat (limited to 'shell/hush.c')
-rw-r--r--shell/hush.c4
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
2770final_return: 2770final_return:
2771 return(opt?opt:last_return_code); 2771 return opt ? opt : last_return_code;
2772} 2772}
2773 2773
2774static char *insert_var_value(char *inp) 2774static char *insert_var_value(char *inp)