summaryrefslogtreecommitdiffhomepage
path: root/shell/hush.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-07-31 18:06:07 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2017-07-31 18:06:07 +0200
commitcee603d921594fc779bc26a200dfb010cd62ab92 (patch)
tree052514f91f55746980ee7b732b662f2ee57bcdff /shell/hush.c
parent5b3d2eb327ce7e1c55c6c94bc70782f733d59990 (diff)
hush: remove redundant "G_flag_return_in_progress = -1"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush.c')
-rw-r--r--shell/hush.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/shell/hush.c b/shell/hush.c
index 5c8e00743..9f946d82f 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();