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>
This commit is contained in:
Johannes Schindelin 2017-08-04 12:16:46 +02:00 committed by Denys Vlasenko
parent d329e34c96
commit 7344755823

View File

@ -5546,12 +5546,10 @@ static void
redirect(union node *redir, int flags)
{
struct redirtab *sv;
int sv_pos;
if (!redir)
return;
sv_pos = 0;
sv = NULL;
INT_OFF;
if (flags & REDIR_PUSH)