[git commit] hush: remove redundant "G_flag_return_in_progress = -1"

Denys Vlasenko vda.linux at googlemail.com
Mon Jul 31 16:06:07 UTC 2017


commit: https://git.busybox.net/busybox/commit/?id=cee603d921594fc779bc26a200dfb010cd62ab92
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 shell/hush.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/shell/hush.c b/shell/hush.c
index 5c8e007..9f946d8 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -7109,7 +7109,6 @@ static void exec_function(char ***to_free,
 	G_flag_return_in_progress = -1;
 	IF_HUSH_LOCAL(G.func_nest_level++;)
 
-	G_flag_return_in_progress = -1;
 	/* On MMU, funcp->body is always non-NULL */
 	n = run_list(funcp->body);
 	fflush_all();


More information about the busybox-cvs mailing list