diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2017-08-04 12:16:46 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-08-04 14:52:08 +0200 |
commit | 7344755823df5510b089cc5db30f8c1cdebdc5a2 (patch) | |
tree | b75bbbc4d9e63a2898765b8641efb4a9fae0c57a | |
parent | d329e34c96e0429602fe39489586cd61f97a2877 (diff) | |
download | busybox-w32-7344755823df5510b089cc5db30f8c1cdebdc5a2.tar.gz busybox-w32-7344755823df5510b089cc5db30f8c1cdebdc5a2.tar.bz2 busybox-w32-7344755823df5510b089cc5db30f8c1cdebdc5a2.zip |
ash: remove no-longer-used variable
As of 035486c75 (ash: significant overhaul of redirect saving logic,
2017-07-31), the sv_pos variable is no longer used (just assigned to,
with no further effect).
Let's just remove it.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | shell/ash.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/shell/ash.c b/shell/ash.c index 2afa5e83d..2ad86c187 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -5546,12 +5546,10 @@ static void | |||
5546 | redirect(union node *redir, int flags) | 5546 | redirect(union node *redir, int flags) |
5547 | { | 5547 | { |
5548 | struct redirtab *sv; | 5548 | struct redirtab *sv; |
5549 | int sv_pos; | ||
5550 | 5549 | ||
5551 | if (!redir) | 5550 | if (!redir) |
5552 | return; | 5551 | return; |
5553 | 5552 | ||
5554 | sv_pos = 0; | ||
5555 | sv = NULL; | 5553 | sv = NULL; |
5556 | INT_OFF; | 5554 | INT_OFF; |
5557 | if (flags & REDIR_PUSH) | 5555 | if (flags & REDIR_PUSH) |