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:
parent
d329e34c96
commit
7344755823
1 changed files with 0 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue