From: Johannes Schindelin Date: Fri, 4 Aug 2017 10:16:46 +0000 (+0200) Subject: ash: remove no-longer-used variable X-Git-Tag: 1_28_0~246 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7344755823df5510b089cc5db30f8c1cdebdc5a2;p=oweals%2Fbusybox.git 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 Signed-off-by: Denys Vlasenko --- 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 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)