From e94e828efd4835a45bab4e37f9e3b16fd09b3f78 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Wed, 18 Mar 2020 19:42:08 +0000 Subject: 45583/0001: internal: Remove a redundant assignment. The value is overwritten five lines below, without being read in the interim. --- ChangeLog | 5 +++++ Src/exec.c | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index bea520140..3a28744c2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2020-03-22 Daniel Shahaf + + * 45583/0001: Src/exec.c: internal: Remove a redundant + assignment. + 2020-03-20 Daniel Shahaf * unposted: Src/Builtins/rlimits.c: Deconfuse $EDITOR's balanced diff --git a/Src/exec.c b/Src/exec.c index bca051d4f..cd014ff38 100644 --- a/Src/exec.c +++ b/Src/exec.c @@ -5166,7 +5166,6 @@ execfuncdef(Estate state, Eprog redir_prog) end = beg + WC_FUNCDEF_SKIP(state->pc[-1]); names = ecgetlist(state, *state->pc++, EC_DUPTOK, &htok); - nprg = end - beg; sbeg = *state->pc++; nstrs = *state->pc++; npats = *state->pc++; -- cgit v1.2.3