hush: fix for !ENABLE_HUSH_MODE_X configuration
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 26 Jun 2018 13:43:56 +0000 (15:43 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 26 Jun 2018 13:43:56 +0000 (15:43 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/hush.c

index 738a6b286888d35c355ea1718e289d9cff2931ac..8d4478ae5fb9c9e9e8eeae6d21a0493c629c76b7 100644 (file)
@@ -8255,8 +8255,8 @@ static int checkjobs_and_fg_shell(struct pipe *fg_pipe)
  * subshell:     ( list ) [&]
  */
 #if !ENABLE_HUSH_MODE_X
-#define redirect_and_varexp_helper(old_vars_p, command, squirrel, argv_expanded) \
-       redirect_and_varexp_helper(old_vars_p, command, squirrel)
+#define redirect_and_varexp_helper(command, squirrel, argv_expanded) \
+       redirect_and_varexp_helper(command, squirrel)
 #endif
 static int redirect_and_varexp_helper(
                struct command *command,